## S3 method for class 'default':
RsquareAdj(x, n, m, ...)
## S3 method for class 'rda':
RsquareAdj(x, ...)
Arguments
x
Unadjusted R-squared or an object from which the terms for
evaluation or adjusted R-squared can be found.
n, m
Number of observations and number of degrees of freedom
in the fitted model.
...
Other arguments (ignored).
Value
The functions return a list of items r.squared and
adj.r.squared.
Details
The default method finds the adjusted
R-squared from the unadjusted R-squared, number of observations, and
number of degrees of freedom in the fitted model. The specific
methods find this information from the fitted result
object. There are specific methods for 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
R-squared in cca, in partial rda, and
R-squared values are available only for gaussian
models in glm.
References
Peres-Neto, P., P. Legendre, S. Dray and D. Borcard. 2006. Variation
partitioning of species data matrices: estimation and comparison of
fractions. Ecology 87: 2614-2625.