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

Value

(Model) Updated Pharmpy model

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)

pharmr documentation built on May 28, 2026, 5:08 p.m.