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

View source: R/linpk.R

dose.frameR Documentation

Get the doses from a PK profile.

Description

Get the doses from a PK profile.

Usage

dose.frame(x)

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

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)

benjaminrich/linpk documentation built on April 18, 2024, 2:13 a.m.