Learn R Programming

cocorresp (version 0.4-4)

screeplot.symcoca: Screeplot for symmetric co-correspondence analysis

Description

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

Usage

# S3 method for 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

Gavin L. Simpson.

See Also

Examples

Run this code
## 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)

Run the code above in your browser using DataLab