summary-methods | R Documentation |
summary
methods for classes "predcoca"
and
"symcoca"
. These provide a summary of the main results of a
Co-Correspondence Analysis model.
## S3 method for class 'predcoca'
summary(object, axes = NULL, ...)
## S3 method for class 'symcoca'
summary(object, ...)
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. |
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.) |
Gavin L. Simpson
The model fitting function coca
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.