variable_list_create {apmx} | R Documentation |
Create a dataframe with standard variable names and definitions
Description
Variable list should be used as an input to the apmx::pk_define() function. The user should add additional definitions to the file for custom columns with apmx::variable_list_add().
Usage
variable_list_create(
variable = NULL,
categorization = NULL,
description = NULL,
comment = NA
)
Arguments
variable |
vector of variable names |
categorization |
vector of category names |
description |
vector of variable descriptions |
comment |
vector of variable comments (can be left NA) |
Value
dataframe of standard variable definitions
Examples
vl <- variable_list_create(variable = c("WEIGHT", "HEIGHT"),
categorization = rep("Covariate", 2),
description = c("weight", "height"))
[Package apmx version 1.1.1 Index]