# NOT RUN {
# iris data
if (require(lme4, quietly=TRUE)) {
model <- lmer(Sepal.Width ~ Sepal.Length + Petal.Length + (1|Species), data=iris)
beta(model) # all variables standardized
beta(model, skip='Petal.Length') # all variables except Petal.Length standardized
}
# }
Run the code above in your browser using DataLab