glance.mlm | R Documentation |
This function takes an "mlm" object, fit by lm
with a multivariate response.
The goal is to return something analogous to glance.lm
for a univariate response linear model.
## S3 method for class 'mlm'
glance(x, ...)
x |
An |
... |
Additional arguments. Not used. |
In the multivariate case, it returns a tibble
with one row for each
response variable, containing goodness of fit measures, F-tests and p-values.
A tibble
with one row for each response variable and the columns:
r.squared
R squared statistic, or the percent of variation explained by the model.
adj.r.squared
Adjusted R squared statistic, which is like the R squared statistic except taking degrees of freedom into account.
sigma
Estimated standard error of the residuals
fstatitic
Overall F statistic for the model
numdf
Numerator degrees of freedom for the overall test
dendf
Denominator degrees of freedom for the overall test
p.value
P-value corresponding to the F statistic
nobs
Number of observations used
iris.mod <- lm(cbind(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) ~ Species, data=iris)
glance(iris.mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.