# NOT RUN {
# Attach packages
library(cvms)
# Create effect names
dependent <- "y"
fixed_effects <- c("a","b","c")
random_effects <- "(1|e)"
# }
# NOT RUN {
# Create model formulas
combine_predictors(dependent, fixed_effects,
random_effects)
# }
# NOT RUN {
# Create effect names with interchangeable effects in sublists
fixed_effects <- list("a",list("b","log_b"),"c")
# }
# NOT RUN {
# Create model formulas
combine_predictors(dependent, fixed_effects,
random_effects)
# }
Run the code above in your browser using DataLab