| pk_iv_1cmt | R Documentation | 
Simulate PK data from a 1-compartment iv model
pk_iv_1cmt(
  t,
  t_inf = 1,
  tau = 24,
  dose = 120,
  CL = 0.345,
  Vc = 1.75,
  ruv = NULL
)
t | 
 Time after dose  | 
t_inf | 
 Infusion length  | 
tau | 
 Dosing interval  | 
dose | 
 Dose  | 
CL | 
 Clearance  | 
Vc | 
 Volume of distribution  | 
ruv | 
 Residual variability  | 
A vector of predicted values, with or without added residual variability
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.