remove_loq_data {pharmr} | R Documentation |
remove_loq_data
Description
Remove loq data records from the dataset
Does nothing if none of the limits are specified.
Usage
remove_loq_data(
model,
lloq = NULL,
uloq = NULL,
blq = NULL,
alq = NULL,
keep = 0
)
Arguments
model |
(Model) Pharmpy model object |
lloq |
(numeric or str (optional)) Value or column name for lower limit of quantification. |
uloq |
(numeric or str (optional)) Value or column name for upper limit of quantification. |
blq |
(str (optional)) Column name for below limit of quantification indicator. |
alq |
(str (optional)) Column name for above limit of quantification indicator. |
keep |
(numeric (optional)) Number of loq records to keep for each run of consecutive loq records. |
Value
(Model) Pharmpy model object
See Also
set_lloq_data
transform_blq
Examples
## Not run:
model <- load_example_model("pheno")
model <- remove_loq_data(model, lloq=10, uloq=40)
length(model$dataset)
## End(Not run)
[Package pharmr version 1.0.1 Index]