pk_oral_1cmt: Simulate PK data from a 1-compartment oral model

Description Usage Arguments Value Examples

Description

Simulate PK data from a 1-compartment oral model

Usage

1
pk_oral_1cmt(t, tau = 24, dose = 120, ka = 1, ke = 1, cl = 10, ruv = NULL)

Arguments

t

Time after dose

tau

Dosing interval

dose

Dose

ka

Absorption rate

ke

Elimination rate

cl

Clearance

ruv

Residual variability

Value

A vector of predicted values, with or without added residual variability

Examples

1
2
3
4
5
dat1 <- vpc:::pk_oral_1cmt(t = c(0:72), tau = 24, dose = 120, 
                     ka = 1, ke = 1, cl = 10)
dat2 <- vpc:::pk_oral_1cmt(t = c(0:72), tau = 24, dose = 120, 
                     ka = 1, ke = 1, cl = 10, 
                     ruv = list(proportional = 0.1, additive = 0.1))

vpc documentation built on Jan. 16, 2021, 5:44 p.m.