meta
and factors (possibly row.factor or col.factor).
These functions are expecting the full metadata table for meta
(which you probably read into R using read.meta).
The other argument, factor, should be a named character
vector. The values of this vector should be the columns to be used
from meta, while the names of the vector should be the labels
you wish to have displayed in the plots. There are several ways to
name a character vector:
Notice that myvec has names "This", "a",
"character", but has values "is", "named",
"vector". It is the names that will be used to label graphs in
RAM, but the values that will be used to extract the actual
data. This is useful if you have more complicated names; say we want
the data from the column named "Precip_14d_before_harvest", but we
want a nicer label for the plot. We can do the following:
Now we will be able to plot the value of the "Precip_14d_before_harvest"
column, but we will have the (much nicer!) label "Precipitation (14 d. prior to
Harvest, mm)" appear in our plots.