View source: R/functions_wrapper.R
drop_columns | R Documentation |
Drop columns from the dataset or mark as dropped
drop_columns(model, column_names, mark = FALSE)
model |
(Model) Pharmpy model object |
column_names |
(array(str) or str) List of column names or one column name to drop or mark as dropped |
mark |
(logical) Default is to remove column from dataset. Set this to TRUE to only mark as dropped |
(Model) Pharmpy model object
drop_dropped_columns : Drop all columns marked as drop
undrop_columns : Undrop columns of model
## Not run:
model <- load_example_model("pheno")
model <- drop_columns(model, c('WGT', 'APGR'))
vector(model$dataset$columns)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.