recode_categorical_covariates | R Documentation |
Change the name of categorical covariates levels.
recode_categorical_covariates(run, covariates_levels = NULL)
run |
|
covariates_levels |
list of categorical covariates, each list item contains the corresponding categorical levels. |
A NONMEM run object.
recoded_EXAMPLERUN <-
recode_categorical_covariates(run = EXAMPLERUN,
covariates_levels =
list(STUD = list(`Study 1` = "1",
`Study 2` = "2",
`Study 3` = "3")))
# before
EXAMPLERUN %>%
group_by(STUD) %>%
plot_parameters_distributions(type = "boxplot", parameters = "CL")
# after
recoded_EXAMPLERUN %>%
group_by(STUD) %>%
plot_parameters_distributions(type = "boxplot", parameters = "CL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.