dose.frame: Get the doses from a PK profile.

Description Usage Arguments Value See Also Examples

View source: R/linpk.R

Description

Get the doses from a PK profile.

Usage

1

Arguments

x

A object of class pkprofile.

Value

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.

See Also

pkprofile

Examples

1
2
3
4
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)

linpk documentation built on June 12, 2018, 5:04 p.m.