drop_dropped_columns: drop_dropped_columns

View source: R/functions_wrapper.R

drop_dropped_columnsR Documentation

drop_dropped_columns

Description

Drop columns marked as dropped from the dataset

NM-TRAN date columns will not be dropped by this function even if marked as dropped. Columns not specified in the datainfo ($INPUT for NONMEM) will also be dropped from the dataset.

Usage

drop_dropped_columns(model)

Arguments

model

(Model) Pharmpy model object

Value

(Model) Pharmpy model object

See Also

drop_columns : Drop specific columns or mark them as drop

Examples

## Not run: 
model <- load_example_model("pheno")
model <- drop_dropped_columns(model)
vector(model$dataset$columns)

## End(Not run)

pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.