This performs Noncompartmental Analysis(NCA) for one dosing record from the CDISC EX and PC domain.
NCA0(EX0, PC0, fit="Linear", excludeInfusion=TRUE, label="")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.
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.
The concentration records of that dosing interval, with the columns PCDTC, PCSTRESN and PCSTRESU
either of "Linear" or "Log" to indicate the way to calculate AUC and AUMC
when the administration is an infusion, estimate the terminal slope from post-infusion samples only; TRUE by default. See rNCA for what this changes.
identifier used only in warning messages
Kyun-Seop Bae <k@acr.kr>
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.
help, rNCA, sNCA