
Base graphics plot method for residLen
objects.
# S3 method for residLen
plot(x, probs = c(0.9, 0.95, 0.99), ncol = 1,
lcol = "red", llty = "dashed", xlab = NULL, ylab = NULL,
main = "Residual distances", rug = TRUE, ...)
A plot on the current device.
Returns, invisibly, a list with two components (train
and
passive
), each and object of the type returned by
density
.
Object of class "residLen"
, the result of a call to
residLen
.
numeric; vector of probability quantiles to compute from the sets of residual distances.
numeric; number of columns for the plot layout. Choices
are 1
or 2
. Determines whether the histograms are
plotted above or beside each other.
colour and line-type for the quantiles.
Axis labels. If not supplied, suitable defaults are generated, depending on whether RDA or CCA was used as the underlying ordination model.
character; title for the plot.
logical; should rug plots of the actual distances be drawn?
additional arguments passed to plot
.
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
plot(rlens)
Run the code above in your browser using DataLab