dose.frame | R Documentation |
Get the doses from a PK profile.
dose.frame(x)
x |
A object of class |
A data.frame
containing the realized doses, one per row. The
data.frame
has all the columns described in pkprofile
,
except addl
, since all additional doses have been expanded to
individual rows. It also has a conc
column with the simulated
concentration at the time of the dose.
pkprofile
t.obs <- seq(0, 6*24, 0.5) y <- pkprofile(t.obs, cl=0.5, vc=11, ka=1.3, dose=list(t.dose=c(0, 24*2 + 14), amt=c(100, 50), addl=c(4, 0), ii=24)) dose.frame(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.