View source: R/prettify_column_names.R
prettify_column_names | R Documentation |
prettify_column_names
converts columns in a table of PK values from
names such as "AUCinf_dose1" or "Cmax_last" to prettier names such as "Dose 1
AUCinf (ng/mL.h)" or "Last dose Cmax (ng/mL)". Alternatively, it can also be
used to convert pretty column names into R-friendly coded names, e.g., "Dose
1 AUCinf (ng/mL.h)" becomes "AUCinf_dose1".
prettify_column_names(
PKtable,
prettify_compound_names = TRUE,
pretty_or_ugly_cols = "pretty",
return_which_are_PK = FALSE
)
PKtable |
a table of PK data with column names such as "AUCinf_dose1" or "Cmax_last" or a character vector of the names of a PK table |
prettify_compound_names |
Do you want to prettify your compound names? Options:
|
pretty_or_ugly_cols |
Do you want "pretty" column names such as "Dose 1 AUCinf (ng/mL.h)" or do you want "ugly" but R friendly column names such as "AUCinf_dose1"? Options are "pretty" (default) or "ugly". |
return_which_are_PK |
TRUE or FALSE (default) for whether to, instead of prettifying, return a data.frame saying which column names are PK parameters and which are not. |
a PK table with prettier column names
# None yet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.