Learn R Programming

tci (version 0.1.2)

eleveld_poppk: Eleveld population PK model

Description

Function takes a data frame of patient covariate values with variable names "AGE","PMA","WGT","HGT","M1F2","TECH",and "A1V2" and returns PK parameter values.

Usage

eleveld_poppk(df, PD = TRUE, rate = FALSE, rand = FALSE)

Value

data.frame with covariate-based PK parameter estimates based on Eleveld propofol model.

Arguments

df

Data frame with variable names "AGE","PMA","WGT","HGT","M1F2","TECH",and "A1V2"

PD

Logical. Should PD parameters be returned in addition to PK parameters. Defaults to TRUE.

rate

Logical. Should rate parameters be returned rather than clearance. Defaults to FALSE

rand

Logical. Should a vector of Monte Carlo samples be returned instead of point estimates at patient covariate values. Defaults to FALSE.

Examples

Run this code
dat <- data.frame(AGE  = c(20,40,65),
                  TBM  = c(50,70,90),
                  HGT  = c(150,170,200),
                  MALE = c(TRUE,FALSE,TRUE))

schnider_poppk(dat, rand = FALSE, rate = FALSE)
schnider_poppk(dat, rand = TRUE, rate = TRUE)

Run the code above in your browser using DataLab