| histogram.residLen {analogue} | R Documentation |
Lattice histogram method for
residLen objects.
## S3 method for class 'residLen':
histogram(x, ..., xlab = NULL, ylab = NULL,
type = c("percent", "count", "density"))
x |
Object of class "residLen", the result of a call to
residLen. |
xlab, ylab |
Axis labels. If not supplied, suitable defaults are generated, depending on whether RDA or CCA was used as the underlying ordination model. |
type |
Character string indicating type of histogram to be
drawn. "percent" and "count" give relative frequency
and frequency histograms, and can be misleading when breakpoints are
not equally spaced. "density" produces a density scale
histogram.
See histogram for further details. |
... |
Additional arguments passed to
histogram. |
Returns an object of class "trellis". See
histogram for details.
Gavin L. Simpson
residLen, plot.residLen,
hist.residLen, densityplot.residLen.
data(swapdiat, swappH, rlgh) ## squared residual lengths for RLGH rlens <- residLen(swapdiat, swappH, rlgh) rlens ## plot a histogram of the residual distances histogram(rlens)