screeplot.symcoca: Screeplot for symmetric co-correspondence analysis

screeplot.symcocaR Documentation

Screeplot for symmetric co-correspondence analysis

Description

Produces a screeplot of the eigenvalues of a symmetric co-correspondence analysis.

Usage

## S3 method for class 'symcoca'
screeplot(x, type = "b",
    xlab = NULL, ylab = NULL,
    ...)

Arguments

x

an object of class "symcoca", the result of a call to symcoca.

type

the type of points to draw; see points.

xlab, ylab

labels for the x and y axes. If none supplied suitable labels are formed from the result object.

...

other graphical parameters as in 'par' may also be passed as arguments.

Author(s)

Gavin L. Simpson.

See Also

coca, screeplot, plot.default

Examples

## symmetric CoCA
data(beetles)
data(plants)

## log transform the bettle data
beetles <- log(beetles + 1)

## fit the model
bp.sym <- coca(beetles ~ ., data = plants, method = "symmetric")

## draw a screeplot of the eignevalues
screeplot(bp.sym)


gavinsimpson/cocorresp documentation built on Feb. 22, 2024, 2:40 a.m.