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

# 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

## 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")
#> 
#> Removed some species that contained no data in: beetles, plants 

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