- data
A smooths.frame
, such as is produced by
probeSmooths
and that contains the data resulting from
smoothing a response over time for a set of individuals
, the data
being arranged in long format both with respect to the
times and the smoothing-parameter values used in the smoothing. That is,
each response occupies a single column. The smooths.frame
must include the columns Type
, TunePar
, TuneVal
,
Tuning
and Method
, and the columns nominated using the
arguments individuals
, times
, plots.by
,
facet.x
, facet.y
, plots.group
, response
,
response.smoothed
, and, if requested, the AGR and the RGR of the
response
and response.smoothed
. The names of the growth
rates should be formed from response
and response.smoothed
by adding .AGR
and .RGR
to both of them.
- response
A character
specifying the response variable for which the
observed values are supplied. Depending on the setting of
trait.types
, the observed values of related trait.types
may also need to be be supplied.
- response.smoothed
A character
specifying the name of the column
containing the values of the smoothed response variable, corresponding
to response
and obtained for the combinations of
smoothing.methods
and df
, usually using smoothing splines.
If response.smoothed
is NULL
, then
response.smoothed
is set to the response
to which is added
the prefix s
.
Depending on the setting of trait.types
, the smoothed
values of related trait.types
may also need to be be supplied.
- individuals
A character
giving the name of the
factor
that defines the subsets of the data
for which each subset corresponds to the response
values for
an individual (e.g. plant, pot, cart, plot or unit).
- times
A character
giving the name of the column in
data
containing the times at which the data was
collected, either as a numeric
, factor
, or
character
. It will be used to provide the values to be plotted
on the x-axis. If a factor
or character
,
the values should be numerics stored as characters.
- trait.types
A character
giving the traits types that are to be
plotted. While AGR
and RGR
are commonly used, the names
can be arbitrary, except that response
is a special case that
indicates that the original response is to be plotted. If all
,
each of response
, AGR
and RGR
is plotted.
- x.title
Title for the x-axis. If NULL
then set to times
.
- y.titles
A character
giving the titles for the y-axis,
one for each trait specified by trait.types
.
If NULL
, then set to the traits derived for response
from trait.types
.
- meddevn.plot.args
A named list
that is most easily
generated using args4meddevn_plot
, it documenting the
options available for varying median deviations plots. Note
that if args4meddevn_plot
is to be called to change
from the default settings given in the default plotSmoothsMedianDevns
call and some of those settings are to be retained, then the arguments
whose settings are to be retained must also be included in the call
to args4meddevn_plot
; be aware that if you call
args4meddevn_plot
, then the defaults for this call are
those for args4meddevn_plot
, NOT the call to
args4meddevn_plot
shown as the default for
plotSmoothsMedianDevns
.
- printPlot
A logical
indicating whether or not to print the
plot.
- ...
allows passing of arguments to other functions; not used at present.