Usage
## S3 method for class 'mefa':
plot(x, stat = 1:4, type = c("hist", "rank"),
trafo = c("none", "log", "ratio"), show = TRUE, ylab, xlab, ...)
## S3 method for class 'mefa':
boxplot(x, stat = 1:4, all = TRUE, show = TRUE, ylab, xlab, \dots)
## S3 method for class 'mefa':
image(x, segm=NULL, trafo=c("none", "log", "bins", "prab"),
probs = seq(0, 1, 0.05), ordering = TRUE, reverse = TRUE, names = FALSE,
show = TRUE, ylab, xlab, ...)
## S3 method for class 'stcs':
plot(x, stat = 1:4, type = c("hist", "rank"),
trafo = c("none", "log", "ratio"), show = TRUE, ylab, xlab, ...)
## S3 method for class 'stcs':
boxplot(x, stat = 1:4, all = TRUE, show = TRUE, ylab, xlab, \dots)
## S3 method for class 'stcs':
image(x, segm=NULL, trafo=c("none", "log", "bins", "prab"),
probs = seq(0, 1, 0.05), ordering = TRUE, reverse = TRUE, names = FALSE,
show = TRUE, ylab, xlab, ...)
Arguments
x
an object of class 'mefa' or 'stcs'.
stat
numeric, to determine which characteristic to plot. 1
: number of species in samples (default), 2
: total number of indiwiduals in samples, 3
: number of occurrences per taxa, 4
number of individuals per ta
type
character, "hist"
produces barchart for discrete values and histogram for continuous values (default), "rank"
ranked curves based on the characteristic defined by stat
.
trafo
character, transformation of the plotted variable. "none"
: no transformation (default), "log"
: logarithmic transformation (base 10), "ratio"
: normalizes values by the maximum and rescales to the [0, 1] interval (usef
all
logical, if TRUE
values of stat
is plotted for all segments too on the boxplot.
ylab, xlab
character to overwrite default label for the y and x axes. If NULL
, than default labels are returned on the plot.
segm
if NULL
the x$xtab
matrix is used for plotting. Otherways, this defines the segment (one element in x$segm
) for plotting (can be numeric or character with the name of the segment).
probs
numeric vector of probabilities with values in [0, 1] (passed internally to qvector
). ordering
logical, if TRUE
(default) the samples-by-taxa matrix is ordered by row and columns sums, if FALSE
row and columns are not rearranged.
reverse
logical, if the values to plot should be reversed (TRUE
, default, original zero values are lightly, while higher values are strongly coloured) or not (FALSE
). This is related to col
argument of the generic function <
names
logical, it labels samples and taxa in the plot using names in x
. If it is a logical vector of length 2, sample and taxa names are returned accordingly.
show
logical, produce a plot (TRUE
) or not (FALSE
). FALSE
can be useful, if the returned plotted values are reused (e.g. the matrix returned invisibly image
can be used by
...
further arguments to pass to plotting functions. See especially zlim
and col
arguments of the generic function image
, and arguments for the generic function