as.data.frame.pkprofile: Coerce a 'pkprofile' to a 'data.frame'

Description Usage Arguments Value

View source: R/linpk.R

Description

Coerce a pkprofile to a data.frame

Usage

1
2
3
## S3 method for class 'pkprofile'
as.data.frame(x, ..., col.names = c("time", "conc"),
  .state = FALSE)

Arguments

x

An object of class pkprofile.

...

Further arguments passed along.

col.names

Character vector of length 2 giving the names for the time and concentration columns.

.state

Include the complete state along with time and conc?

Value

A data.frame with columns time and conc (or the names specified in col.names). If .state == TRUE, then the complete state is appended (as a matrix column).


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