Skip to contents

Concentration predictions for 1-compartmental PK model with bolus dosing at steady state

Usage

pk_1cmt_bolus_ss(t = c(0:24), dose = 100, tau = 12, CL = 3, V = 30, ruv = NULL)

Arguments

t

vector of time

dose

dose

tau

dosing interval

CL

clearance

V

volume of distribution

ruv

residual variability, specified as list with optional arguments for proportional, additive, or exponential components, e.g. list(prop=0.1, add=1, exp=0)

Examples

pk_1cmt_bolus_ss(dose = 500, tau = 12, CL = 5, V = 50)
#>     t        dv
#> 1   0 14.310128
#> 2   1 12.948339
#> 3   2 11.716142
#> 4   3 10.601203
#> 5   4  9.592365
#> 6   5  8.679531
#> 7   6  7.853565
#> 8   7  7.106199
#> 9   8  6.429955
#> 10  9  5.818064
#> 11 10  5.264402
#> 12 11  4.763428
#> 13 12 14.310128
#> 14 13 12.948339
#> 15 14 11.716142
#> 16 15 10.601203
#> 17 16  9.592365
#> 18 17  8.679531
#> 19 18  7.853565
#> 20 19  7.106199
#> 21 20  6.429955
#> 22 21  5.818064
#> 23 22  5.264402
#> 24 23  4.763428
#> 25 24 14.310128
pk_1cmt_bolus_ss(
  dose = 500, tau = 12, CL = 5, V = 50,
  ruv = list(prop = 0.1, add = 0.1))
#>     t        dv
#> 1   0 13.118871
#> 2   1 10.693469
#> 3   2 10.792478
#> 4   3 10.093700
#> 5   4  9.085750
#> 6   5  8.746155
#> 7   6  8.527509
#> 8   7  7.003197
#> 9   8  5.444620
#> 10  9  5.939793
#> 11 10  5.121317
#> 12 11  5.041007
#> 13 12 17.337410
#> 14 13 13.415729
#> 15 14  9.930464
#> 16 15 10.942243
#> 17 16 10.719467
#> 18 17 10.581786
#> 19 18  8.094575
#> 20 19  8.146710
#> 21 20  6.553325
#> 22 21  6.033931
#> 23 22  5.319053
#> 24 23  5.063164
#> 25 24 13.820470