Created
October 7, 2019 18:34
-
-
Save monogenea/546d7b1b97595c5549946484e4ec2d7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set optimization pars | |
ctrl <- lmeControl(opt="optim") | |
lmm6.2 <- update(lmm6, .~., random = ~nutrient|popu/gen, control = ctrl) | |
lmm7.2 <- update(lmm7, .~., random = ~nutrient|reg/popu/gen, control = ctrl) | |
anova(lmm6, lmm6.2, lmm7, lmm7.2) # both models improved | |
anova(lmm6.2, lmm7.2) # similar fit; lmm6.2 more parsimonious | |
summary(lmm6.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment