plot.symcoca {cocorresp}R Documentation

Biplots for symmetric co-correspondence analysis

Description

Produces biplots of the response and predictor from the results of a symmetric co-correspondence analysis.

Usage

## S3 method for class 'symcoca':
plot(x, pages = NULL, axes = c(1:2),
     scaling = 1, cex = c(0.8, 0.8), pch = c(par("pch"), 3),
     ylab = NULL, xlab = NULL, ann = par("ann"),
     lab.plot = TRUE, ...)

Arguments

x an object of class "symcoca", the result of a call to symcoca.
pages the number of pages to print the biplots on. Currently ignored.
axes a vector of length 2 indicating which predictive CoCA axes to plot.
scaling the scaling to be applied. See scores.symcoca.
cex a vector of length 2, containing the character expansion factors to use for the samples (sites) and the species.
pch a vector of length 2, containing the plotting character to use for the samples (sites) and the species.
ylab the label for the y-axis of the biplots, currently ignored.
xlab the label for the x-axis of the biplots, currently ignored.
ann logical, if TRUE plots are annotated and not if FALSE, currently ignored.
lab.plot logical, if TRUE, the biplots are given a title, derived from the names of the original data matrices. See coca.
... graphical parameters can be given as arguments to plot.default, these are currently ignored.

Note

This is a simple attempt at a plot method for symmetric co-correspondence analysis biplots. A number of the arguments do nothing and some of the functionaility is hard-coded within the function definition. This will be updated in a future release of the package.

Author(s)

Gavin L. Simpson.

References

Ter Braak, C.J.F and Schaffers, A.P. (2004) Co-Correspondence Analysis: a new ordination method to relate two community compositions. Ecology 85(3), 834–846

See Also

coca, plot.default

Examples

## symmetric CoCA
data(beetles)
## log transform the bettle data
beetles <- log(beetles + 1)
data(plants)
## fit the model
bp.sym <- coca(beetles ~ ., data = plants, method = "symmetric")
## draw the biplots
plot(bp.sym)

[Package cocorresp version 0.1-3 Index]