pk_iv_1cmt: Simulate PK data from a 1-compartment iv model

Description Usage Arguments Value Examples

Description

Simulate PK data from a 1-compartment iv model

Usage

1
2
3
4
5
6
7
8
9
pk_iv_1cmt(
  t,
  t_inf = 1,
  tau = 24,
  dose = 120,
  CL = 0.345,
  Vc = 1.75,
  ruv = NULL
)

Arguments

t

Time after dose

t_inf

Infusion length

tau

Dosing interval

dose

Dose

CL

Clearance

Vc

Volume of distribution

ruv

Residual variability

Value

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

Examples

1
2
3
4
5
dat1 <- vpc:::pk_iv_1cmt(t = c(0:72), tau = 24, dose = 120, 
                   CL = 5, Vc = 50)
dat2 <- vpc:::pk_iv_1cmt(t = c(0:72), tau = 24, dose = 120, 
                   CL = 5, Vc = 50, 
                   ruv = list(proportional = 0.1, additive = 0.1))

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