Learn R Programming

pharmr (version 0.96.0)

transform_blq: transform_blq

Description

Transform for BLQ data

Transform a given model, methods available are m1, m3, and m4 (1). Current limits of the m3 and m4 method:

  • Does not support covariance between epsilons

  • Only supports additive, proportional, and combined error model

(1) Beal SL. Ways to fit a PK model with some data below the quantification limit. J Pharmacokinet Pharmacodyn. 2001 Oct;28(5):481-504. doi: 10.1023/a:1012299115260. Erratum in: J Pharmacokinet Pharmacodyn 2002 Jun;29(3):309. PMID: 11768292.

Usage

transform_blq(model, method = "m4", lloq = NULL)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

method

(str) Which BLQ method to use

lloq

(numeric (optional)) LLOQ limit to use, if NULL Pharmpy will use the BLQ/LLOQ column in the dataset

See Also

remove_loq_data

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- transform_blq(model, method='m4', lloq=0.1)
model$statements$find_assignment("Y")
}

Run the code above in your browser using DataLab