densityplot.residLen {analogue}R Documentation

Lattice density plot for residual lengths

Description

Lattice densityplot method for residLen objects.

Usage

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

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.

Value

Returns an object of class "trellis". See densityplot for details.

Author(s)

Gavin L. Simpson

See Also

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

Examples

data(swapdiat, swappH, rlgh)

## squared residual lengths for RLGH
rlens <- residLen(swapdiat, swappH, rlgh)
rlens

## plot the density functions of the residual distances
densityplot(rlens)


[Package analogue version 0.6-22 Index]