make_random_formula | R Documentation |
Takes a list of covariates for the random slopes. Each element of the list are the random slopes for a pairwise model
make_random_formula(id, covars = NULL)
id |
a character value with the name of the vector of subject identifiers. |
covars |
a list of character vectors with the covariates names |
a list with the fixed formulas for the pairwise model fitting stage.
# Random intercept at subject level random <- make_random_formula(id = "id") # Add random slopes ## Not run: random <- make_random_formula(id = "id", covars = "time") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.