rename_covariates | R Documentation |
Rename model covariates
rename_covariates(run, covariates = NULL)
run |
|
covariates |
named character vector with new covariates names as items names and old covariates names as values. |
A NONMEM run object.
renamed_EXAMPLERUN <- EXAMPLERUN %>%
rename_covariates(covariates = c("Weight" = "WT", "Study" = "STUD"))
EXAMPLERUN %>%
group_by(STUD) %>%
plot_continuous_covariates_distributions(type = "boxplot")
renamed_EXAMPLERUN %>%
group_by(STUD) %>%
plot_continuous_covariates_distributions(type = "boxplot")
# splitting also works using the original column name
renamed_EXAMPLERUN %>%
group_by(STUD) %>%
plot_continuous_covariates_distributions(type = "boxplot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.