PKNCAconc {PKNCA} | R Documentation |
Create a PKNCAconc object
Description
Create a PKNCAconc object
Usage
PKNCAconc(data, ...)
## Default S3 method:
PKNCAconc(data, ...)
## S3 method for class 'tbl_df'
PKNCAconc(data, ...)
## S3 method for class 'data.frame'
PKNCAconc(
data,
formula,
subject,
time.nominal,
exclude,
duration,
volume,
exclude_half.life,
include_half.life,
sparse = FALSE,
...
)
Arguments
data |
A data frame with concentration (or amount for urine/feces),
time, and the groups defined in |
... |
Ignored. |
formula |
The formula defining the |
subject |
The column indicating the subject number. If not provided,
this defaults to the beginning of the inner groups: For example with
|
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 |
duration |
(optional) The duration of collection as is typically used for concentration measurements in urine or feces. |
volume |
(optional) The volume (or mass) of collection as is typically used for urine or feces measurements. |
exclude_half.life , include_half.life |
A character scalar for the column name in the dataset of the points to exclude from the half-life calculation (still using normal curve-stripping selection rules for the other points) or to include for the half-life (using specifically those points and bypassing automatic curve-stripping point selection). See the "Half-Life Calculation" vignette for more details on the use of these arguments. |
sparse |
Are the concentration-time data sparse PK (commonly used in small nonclinical species or with terminal or difficult sampling) or dense PK (commonly used in clinical studies or larger nonclinical species)? |
Value
A PKNCAconc object that can be used for automated NCA.
See Also
Other PKNCA objects:
PKNCAdata()
,
PKNCAdose()
,
PKNCAresults()