rsq_change | R Documentation |
Compare the improvement in R squared from a baseline model
rsq_change(full, reduced)
full |
the full mixed model |
reduced |
the reduced mixed model (typically a random effect ANOVA model) |
Compare the improvement in fit from a baseline model, using mixed models
A vector containing the proportion change in fit for each random effects parameter
Dustin Fife
data(math)
require(lme4)
baseline.model = lmer(MathAch~1 + (1|School), data=math)
full.model = lmer(MathAch~SES + (SES|School), data=math)
rsq_change(full.model, baseline.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.