Learn R Programming

pharmr (version 0.96.0)

remove_loq_data: remove_loq_data

Description

Remove loq data records from the dataset

Does nothing if none of the limits is specified.

Usage

remove_loq_data(model, lloq = NULL, uloq = NULL)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model object

lloq

(numeric (optional)) Lower limit of quantification. Default not specified.

uloq

(numeric (optional)) Upper limit of quantification. Default not specified.

Examples

Run this code
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