RMSE.merMod | R Documentation |
Extract the Root Mean Squared Error for a lmerMod object
RMSE.merMod(merMod, scale = FALSE)
merMod |
a lmerMod object from the lme4 package |
scale |
logical, should the result be returned on the scale of response variable standard deviations? |
a numeric which represents the RMSE
require(lme4)
m2 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
RMSE.merMod(m2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.