powered by
Remove loq data records from the dataset
Does nothing if none of the limits are specified.
remove_loq_data( model, lloq = NULL, uloq = NULL, blq = NULL, alq = NULL, keep = 0 )
(Model) Pharmpy model object
(numeric or str (optional)) Value or column name for lower limit of quantification.
(numeric or str (optional)) Value or column name for upper limit of quantification.
(str (optional)) Column name for below limit of quantification indicator.
(str (optional)) Column name for above limit of quantification indicator.
(numeric) Number of loq records to keep for each run of consecutive loq records.
set_lloq_data
transform_blq
if (FALSE) { model <- load_example_model("pheno") model <- remove_loq_data(model, lloq=10, uloq=40) length(model$dataset) }
Run the code above in your browser using DataLab