weights.symcoca | R Documentation |
Extractor function to identify and select appropriate analysis weights from Co-correspondence Analysis models.
## S3 method for class 'symcoca'
weights(object, ...)
## S3 method for class 'predcoca'
weights(object, ...)
object |
an object of class |
... |
arguments passed to other methods. Not used. |
A numeric vector of common site weights is currently returned. These
correspond to R_{0}
in ter Braak and Schaffers (2004).
Gavin L. Simpson
ter Braak, C.J.F and Schaffers, A.P. (2004) Co-Correspondence Analysis: a new ordination method to relate two community compositions. Ecology 85(3), 834–846.
envfit.coca
uses these weights to estimate
weighted correlations in ordination space. See coca
for
details on creating CoCA models.
## 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")
## weights == R[0]
weights(bp.sym)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.