Multiple R-squared
Rsq(model)
A list of
R.squared |
the multiple R-squared (for linear models) or the Pseudo R-squared (for nonlinear models). |
adj.R.squared |
the adjusted R-squared. |
Anderson Rodrigo da Silva <anderson.agro@hotmail.com>
lm
, summary.lm
, aov
,
nls
# example 1 [linear model] y <- rnorm(10) x <- 1:10 fit <- lm(y ~ x) summary(fit) Rsq(fit) # example 2 [nonlinear model for Load Bearing Capacity] data(compaction) attach(compaction) out <- fitlbc(theta = Mois, sigmaP = PS) summary(out) Rsq(out) # End (not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.