Learn R Programming

tci (version 0.1.2)

apply_poppk: Apply a population PK model to a data frame

Description

Function to apply saved population PK or PK-PD models to a data frame of patient values.

Usage

apply_poppk(patient_df, mod = c("marsh", "schnider", "eleveld"), ...)

Value

data.frame of predicted PK parameters

Arguments

patient_df

Dataframe with patient covariate values. Must have names used by model "mod"

mod

Population PK model to apply to rows of patient_df

...

Arguments passed on to population PK model.