View source: R/functions_wrapper.R
filter_dataset | R Documentation |
Filter dataset according to expr and return a model with the filtered dataset.
Example: "DVID == 1" will filter the dataset so that only the rows with DVID = 1 remain.
filter_dataset(model, expr)
model |
(Model) Pharmpy model object |
expr |
(str) expression for dataset query |
(Model) Pharmpy model object
## Not run:
model <- load_example_model("pheno")
model$dataset
model <- filter_dataset(model, 'WGT < 1.4')
model$dataset
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.