Learn R Programming

analogue (version 0.17-7)

densityplot.residLen: Lattice density plot for residual lengths

Description

Lattice densityplot method for residLen objects.

Usage

# S3 method for residLen
densityplot(x, ..., xlab = NULL, ylab = NULL)

Value

Returns an object of class "trellis". See

densityplot for details.

Arguments

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.

...

Additional arguments passed to densityplot.

Author

Gavin L. Simpson

See Also

residLen, plot.residLen, hist.residLen, histogram.residLen.

Examples

Run this code
## 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 the density functions of the residual distances
densityplot(rlens)

Run the code above in your browser using DataLab