summary-methods {cocorresp} | R Documentation |
Summarizing Co-CA Model Fits
Description
summary
methods for classes "predcoca"
and
"symcoca"
. These provide a summary of the main results of a
Co-Correspondence Analysis model.
Usage
## S3 method for class 'predcoca'
summary(object, axes = NULL, ...)
## S3 method for class 'symcoca'
summary(object, ...)
Arguments
object |
an object of class |
axes |
numeric; how many axes to summarise? The default is to display 6 axes or all available axes, whichever is the smaller. |
... |
arguments to be passed to other methods. |
Value
A list with the some of the following components:
cocaScores |
The site and/or species scores for the axes requested. |
call |
The call used to fit the model. |
lambda |
The eigenvalues for the axes requested. Not for
|
namY , namX |
the names of the response and predictor either supplied by the user or derived from the original call. |
loadings |
a list with two components |
varianceExp |
a list with components |
totalVar |
a list with components |
inertia |
a list with components |
scaling |
the scaling used/requested. (Only for symmetric CoCA models.) |
Author(s)
Gavin L. Simpson
See Also
The model fitting function coca
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")
summary(bp.sym)
## Predictive CoCA
bp.pred <- coca(beetles ~ ., data = plants)
summary(bp.pred, axes = 1:2)