mso
adds an attribute vario
to
an object of class "cca"
that describes the spatial
partitioning of the cca
object and performs an optional
permutation test for the spatial independence of residuals. The
function plot.mso
creates a diagnostic plot of the spatial
partitioning of the "cca"
object.mso(object.cca, object.xy, grain = 1, round.up = FALSE, permutations = FALSE)
## S3 method for class 'mso':
plot(x, alpha = 0.05, explained = FALSE, ...)
object.cca$CA$Xbar
(see
cca.object
).mso
.mso
returns an amended cca
or rda
object with the additional attributes grain
, H
,
H.test
and vario
.object$H
) fall in
which distance class (columns).mantel
of the
If there are explanatory variables (RDA, CCA, pRDA, pCCA) and a
significance test for residual autocorrelation was performed when
running the function mso
, the function plot.mso
will
print an estimate of how much the autocorrelation (based on
significant distance classes) causes the global error variance of the
regression analysis to be underestimated
cca
and rda
,
cca.object
.## Reconstruct worked example of Wagner (submitted):
X <- matrix(c(1, 2, 3, 2, 1, 0), 3, 2)
Y <- c(3, -1, -2)
tmat <- c(1:3)
## Canonical correspondence analysis (cca):
Example.cca <- cca(X, Y)
Example.cca <- mso(Example.cca, tmat)
plot(Example.cca)
Example.cca$vario
## Correspondence analysis (ca):
Example.ca <- mso(cca(X), tmat)
plot(Example.ca)
Run the code above in your browser using DataLab