View source: R/class-PKNCAdose.R
PKNCAdose | R Documentation |
Create a PKNCAdose object
PKNCAdose(data, ...)
## Default S3 method:
PKNCAdose(data, ...)
## S3 method for class 'tbl_df'
PKNCAdose(data, ...)
## S3 method for class 'data.frame'
PKNCAdose(data, formula, route, rate, duration, time.nominal, exclude, ...)
data |
A data frame with time and the groups defined in |
... |
Ignored. |
formula |
The formula defining the |
route |
Define the route of administration. The value may be either a
column name from the |
rate , duration |
(optional) for |
time.nominal |
(optional) The name of the nominal time column (if the
main time variable is actual time. The |
exclude |
(optional) The name of a column with concentrations to exclude
from calculations and summarization. If given, the column should have
values of |
The formula
for a PKNCAdose
object can be
given three ways: one-sided (missing left side), one-sided (missing
right side), or two-sided. Each of the three ways can be given
with or without groups. When given one-sided missing the left
side, the left side can either be omitted or can be given as a
period (.
): ~time|treatment+subject
and
.~time|treatment+subject
are identical, and dose-related NCA
parameters will all be reported as not calculable (for example,
clearance). When given one-sided missing the right side, the right
side must be specified as a period (.
):
dose~.|treatment+subject
, and only a single row may be given
per group. When the right side is missing, PKNCA assumes that the
same dose is given in every interval. When given as a two-sided
formula
A PKNCAconc object that can be used for automated NCA.
Other PKNCA objects:
PKNCAconc()
,
PKNCAdata()
,
PKNCAresults()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.