Usage
"boxplot"(x, y, range=1.5, names=NULL, at=NULL, n.vars=min(12,NCOL(x)), overall.main="Boxplot", var.subset=NA, transformation="log", ...)
"boxplot"( x, n.vars=12, overall.main="", var.subset=NA, ...)
Arguments
x
for the mvabund
method x
specifies the data from
which the boxplots are to be produced.
This can be either a numeric vector, or a single list containing such vectors.
Additional unnamed arguments specify further data as separate vectors
(each corresponding to a component boxplot).
NAs are allowed in the data.
For the default method, unnamed arguments are additional data vectors
(unless x
is a list when they are ignored), and named arguments are
arguments and graphical parameters to be passed to in addition to the ones given
by argument pars (and override those in pars).
For the mvformula
method, a formula, such as y ~ grp
, where
y is a numeric mvabund object of data values to be split into groups according
to the grouping variable grp (a factor).
y
for the mvabund
method y
can be an additional mvabund
object, if x
isn't a list.
range
this determines how far the plot whiskers extend out from the box. If range is positive, the whiskers extend to the most extreme data point which is no more than range times the interquartile range from the box. A value of zero causes the whiskers to extend to the data extremes.
names
only available for the mvabund
method: group labels which will be printed under each boxplot.
at
only available for the mvabund
method: numeric vector giving the locations where the boxplots should be drawn; defaults to 1:n
where n
is the number of boxes.
n.vars
the number of variables to include in the plot.
overall.main
a character to display as title for every window.
var.subset
a numeric vector of indices indicating which variables of the mvabund.object should be included on the plot.
transformation
an optional transformation, (ONLY) for the mvabund
method. Note, that for the mvabund
method transformation
must be used
instead of log
.
Available values are:
"no" = untransformed, "sqrt"=square root transformed,
"log" (default)=log(Y/min+1) transformed, "sqrt4" =4th root transformed.
...
for the mvformula
method, named arguments to be passed to the plot.mvformula
method. Some arguments that are available for the mvabund
method, are not available in plot.mvformula
and can therefore not available in the mvformula
method.For the mvabund
method, unamed arguments are additional data of vectors or matrices or mvabund
objects, (unless x
is a list when they are ignored),and named arguments are arguments and graphical parameters to be passed in addition to the ones given by argument pars
(and override those in pars
).