Learn R Programming

linpk (version 1.1.2)

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

Description

Get the doses from a PK profile.

Usage

dose.frame(x)

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.

Arguments

x

A object of class pkprofile.

See Also

pkprofile

Examples

Run this code
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)

Run the code above in your browser using DataLab