hist.residLen | R Documentation |
Base graphics histogram plot method for residLen
objects.
## S3 method for class 'residLen'
hist(x, breaks = "Sturges", freq = TRUE,
probs = c(0.9, 0.95, 0.99), ncol = 1, lcol = "red",
llty = "dashed", xlab = NULL, ylab = NULL,
main = "Residual distances", rug = TRUE, ...)
x |
Object of class |
breaks |
How breakpoints for the histogram are determined. See
|
freq |
logical; if |
probs |
numeric; vector of probability quantiles to compute from the sets of residual distances. |
ncol |
numeric; number of columns for the plot layout. Choices
are |
lcol , llty |
colour and line-type for the quantiles. |
xlab , ylab |
Axis labels. If not supplied, suitable defaults are generated, depending on whether RDA or CCA was used as the underlying ordination model. |
main |
character; title for the plot. |
rug |
logical; should rug plots of the actual distances be drawn? |
... |
additional arguments passed to |
A plot on the current device.
Returns a list with two components (train
and passive
),
each of which is an object returned by hist
.
Gavin L. Simpson
residLen
, plot.residLen
,
histogram.residLen
, densityplot.residLen
.
## load the Imbrie and Kipp example data
data(ImbrieKipp, SumSST, V12.122)
## squared residual lengths for Core V12.122
rlens <- residLen(ImbrieKipp, SumSST, V12.122)
rlens
## plot a histogram of the residual distances
hist(rlens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.