powered by
Compute residual standard error of linear models.
rse(model)
Linear model of class lm, merMod (lme4) or lme (nlme).
lm
merMod
lme
Numeric, the residual standard error of model.
model
The residual standard error is the square root of the residual sum of squares divided by the residual degrees of freedom.
# NOT RUN { data(mtcars) m <- lm(mpg ~ hp + gear, data = mtcars) rse(m) # }
Run the code above in your browser using DataLab