as.data.frame.pkprofile {linpk}R Documentation

Coerce a pkprofile to a data.frame

Description

Coerce a pkprofile to a data.frame

Usage

## 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).


[Package linpk version 1.1.2 Index]