Learn R Programming

pkr (version 0.1.6)

NCA0: NCA of SDTM data for single subject

Description

This performs Noncompartmental Analysis(NCA) for one dosing record from the CDISC EX and PC domain.

Usage

NCA0(EX0, PC0, fit="Linear", excludeInfusion=TRUE, label="")

Value

This returns a named character vector: AdmMethod, Dose, UnitDose, Dur, UnitTime, UnitConc, followed by the NCA parameters. Which parameters are present depends on the administration method.

Arguments

EX0

One EX record: a named character vector, a one-row data.frame or a one-row matrix. It needs the names EXDOSE, EXDOSU, EXROUTE, EXSTDTC and EXENDTC.

PC0

The concentration records of that dosing interval, with the columns PCDTC, PCSTRESN and PCSTRESU

fit

either of "Linear" or "Log" to indicate the way to calculate AUC and AUMC

excludeInfusion

when the administration is an infusion, estimate the terminal slope from post-infusion samples only; TRUE by default. See rNCA for what this changes.

label

identifier used only in warning messages

Author

Kyun-Seop Bae <k@acr.kr>

Details

The administration method is taken from EXROUTE first: an EXROUTE of "INTRAVENOUS" gives "Infusion" when EXENDTC is later than EXSTDTC and "Bolus" otherwise, and any other route gives "Extravascular". Time after dose is computed from EXSTDTC and negative values are set to zero, so a pre-dose sample is placed at time zero.

This calls sNCA. This is called by rNCA function.

See Also

help, rNCA, sNCA