histogram.residLen: Lattice histogram plot for residual lengths

Description Usage Arguments Value Author(s) See Also Examples

Description

Lattice histogram method for residLen objects.

Usage

1
2
3
## S3 method for class 'residLen'
histogram(x, ..., xlab = NULL, ylab = NULL,
          type = c("percent", "count", "density"))

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.

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.

Value

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

Author(s)

Gavin L. Simpson

See Also

residLen, plot.residLen, hist.residLen, densityplot.residLen.

Examples

1
2
3
4
5
6
7
8
9
## 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
histogram(rlens)

gavinsimpson/analogue documentation built on June 17, 2021, 2:37 a.m.