"RsquareAdj"(x, n, m, ...)
"RsquareAdj"(x, ...)
"RsquareAdj"(x, permutations = 1000, ...)
permutest
permutest
.r.squared
and
adj.r.squared
.
rda
,
cca
, lm
and glm
. Adjusted,
or even unadjusted, R-squared may not be available in some cases,
and then the functions will return NA
. There is no adjusted
in partial rda
, and
R-squared values are available only for gaussian
models in glm
. The adjusted, $R-squared$ of cca
is computed using a
permutation approach developed by Peres-Neto et al. (2006). By default 1000
permutations are used.
The raw $R-squared$ of partial rda
gives the
proportion explained after removing the variation due to conditioning
(partial) terms; Legendre et al. (2011) call this semi-partial
$R-squared$. The adjusted $R-squared$ is found as
the difference of adjusted $R-squared$ values of joint effect
of partial and constraining terms and partial term alone, and it is
the same as the adjusted $R-squared$ of component
[a] = X1|X2
in two-component variation partition in
varpart
.
varpart
uses RsquareAdj
.
data(mite)
data(mite.env)
## rda
m <- rda(decostand(mite, "hell") ~ ., mite.env)
RsquareAdj(m)
## cca
m <- cca(decostand(mite, "hell") ~ ., mite.env)
RsquareAdj(m)
## default method
RsquareAdj(0.8, 20, 5)
Run the code above in your browser using DataLab