Learn R Programming

NonCompart (version 0.8.5)

tblNCA: Table output NCA

Description

Do multiple NCA and returns a result table. See sNCA for more detail i.e. iAUC

Usage

tblNCA(concData, key = "Subject", colTime = "Time", colConc = "conc", dose = 0,
       adm = "Extravascular", dur = 0, doseUnit = "mg", timeUnit = "h",
       concUnit = "ug/L", down = "Linear", R2ADJ = 0, MW = 0, SS = FALSE,
       tau = NA, unitTau = "h", iAUC = "", excludeDelta = 1, UsePoints = NULL)

Value

CMAX

maximum concentration, Cmax; within the dosing interval (0 to tau) when SS = TRUE

CMAXD

dose normalized Cmax, CMAX / Dose, Cmax / Dose

TMAX

time of maximum concentration, Tmax; within the dosing interval (0 to tau) when SS = TRUE

TLAG

time to observe the first non-zero concentration, for extravascular administration only

CLST

last positive concentration observed, Clast

CLSTP

last positive concentration predicted, Clast_pred

TLST

time of last positive concentration, Tlast

LAMZHL

half-life by lambda z, ln(2)/LAMZ

LAMZ

lambda_z negative of the best-fit terminal slope

LAMZLL

earliest time for LAMZ

LAMZUL

last time for LAMZ

LAMZNPT

number of points for LAMZ

CORRXY

correlation of log(concentration) and time

R2

R-squared

R2ADJ

R-squared adjusted

C0

back extrapolated concentration at time 0, for intravascular bolus administration only

AUCLST

AUC from 0 to TLST

AUCALL

AUC using all the given points, including trailing zero concentrations

AUCIFO

AUC infinity observed

AUCIFOD

AUCIFO / Dose

AUCIFP

AUC infinity predicted using CLSTP instead of CLST

AUCIFPD

AUCIFP / Dose

AUCPEO

AUC % extrapolation observed

AUCPEP

AUC % extrapolated for AUCIFP

AUCPBEO

AUC % back extrapolation observed, for bolus IV administration only

AUCPBEP

AUC % back extrapolation predicted with AUCIFP, for bolus IV administration only

AUMCLST

AUMC to the TLST

AUMCIFO

AUMC infinity observed using CLST

AUMCIFP

AUMC infinity determined by CLSTP

AUMCPEO

AUMC % extrapolated observed

AUMCPEP

AUMC % extrapolated predicted

AUCTAU

AUC over one dosing interval, from 0 to tau, calculated like an interval AUC of iAUC (see IntAUC): interpolated according to down when tau falls between two samples, extrapolated with LAMZ when tau is beyond the last sample. With SS = TRUE only

CAVG

average concentration over the dosing interval at steady state, AUCTAU / tau. With SS = TRUE only

MRTIVLST

mean residence time (MRT) to TLST, for intravascular administration

MRTIVIFO

mean residence time (MRT) infinity using CLST, for intravascular administration. When SS = TRUE, (AUMC from 0 to tau + tau * (AUCIFO - AUCTAU)) / AUCTAU, less half the infusion duration

MRTIVIFP

mean residence time (MRT) infinity using CLSTP, for intravascular administration. When SS = TRUE, (AUMC from 0 to tau + tau * (AUCIFP - AUCTAU)) / AUCTAU, less half the infusion duration

MRTEVLST

mean residence time (MRT) to TLST, for extravascular administration

MRTEVIFO

mean residence time (MRT) infinity using CLST, for extravascular administration. When SS = TRUE, (AUMC from 0 to tau + tau * (AUCIFO - AUCTAU)) / AUCTAU

MRTEVIFP

mean residence time (MRT) infinity using CLSTP, for extravascular administration. When SS = TRUE, (AUMC from 0 to tau + tau * (AUCIFP - AUCTAU)) / AUCTAU

VZO

volume of distribution determined by LAMZ and AUCIFO (AUCTAU when SS = TRUE), for intravascular administration

VZP

volume of distribution determined by LAMZ and AUCIFP, for intravascular administration; NA when SS = TRUE

VZFO

VZO for extravascular administration, VZO/F, F is bioavailability

VZFP

VZP for extravascular administration, VZP/F, F is bioavailability; NA when SS = TRUE

CLO

clearance using AUCIFO (dose / AUCTAU when SS = TRUE), for intravascular administration

CLP

clearance using AUCIFP, for intravascular administration; NA when SS = TRUE

CLFO

CLO for extravascular administration, CLO/F, F is bioavailability

CLFP

CLP for extravascular administration, CLP/F, F is bioavailability; NA when SS = TRUE

VSSO

volume of distribution at steady state using CLST, MRTIVIFO times CLO, for intravascular administration only

VSSP

volume of distribution at steady state using CLSTP, MRTIVIFP times CLP (times CLO when SS = TRUE), for intravascular administration only

units

An attribute to show units

UsedPoints

An attribute to show indices of used points

Arguments

concData

concentration data table

key

column names of concData to be shown in the output table

colTime

column name for time

colConc

column name for concentration

dose

administered dose, a scalar or a vector

adm

one of "Bolus" or "Infusion" or "Extravascular" to indicate drug administration mode

dur

duration of infusion, a scalar or a vector

doseUnit

unit of dose

timeUnit

unit of time

concUnit

unit of concentration

down

method to calculate AUC, "Linear" or "Log"

R2ADJ

Lowest threshold of adjusted R-square value to do manual slope determination

MW

molecular weight of drug

SS

if steady-state, this should be TRUE and tau must be given. AUCTAU (AUC over one dosing interval, 0 to tau) is then used instead of AUCIFO (AUCinf) for the calculation of Vz (VZFO, VZO) and CL (CLFO, CLO), and the columns AUCTAU and CAVG are added. CMAX and TMAX are then taken from the samples within the dosing interval, and without a sample at time 0 the lowest concentration observed within the dosing interval is inserted there (0 after a single dose). The MRT to infinity (MRTEVIFO, MRTEVIFP, MRTIVIFO, MRTIVIFP) is (AUMC from 0 to tau + tau * (AUCinf - AUCTAU)) / AUCTAU, and Vdss (VSSO, VSSP) is that MRT times CLO. The Pred-based twins of Vz and CL (VZFP, CLFP, VZP, CLP) are NA at steady state. Up to version 0.8.4 the MRT to infinity and VSSP were NA at steady state and VSSO was MRTIVLST times CLO. Up to version 0.8.3 AUCLST (AUClast) was used in place of AUCTAU, which is only right when the last sample falls exactly at tau.

tau

dosing interval in the unit of unitTau, a positive scalar or one value per NCA (subject). Required when SS = TRUE; ignored, with a warning, otherwise.

unitTau

unit of tau: "h" (default), "min", "s", "d", "wk" or their common spellings. tau is converted into timeUnit before use.

iAUC

data.frame for interval AUC. A name that equals a standard parameter name (for example "AUCTAU" together with SS = TRUE) is refused.

excludeDelta

Improvement of R2ADJ larger than this value could exclude the last point. Default value 1 is for the compatibility with other software.

UsePoints

A list of length equal to the number of subjects/NCAs. Each element is a vector of indices of points to calculate terminal slope for the corresponding subject. Values of use points should not be zero. Use only when automatic determination is not satisfactory. If this is used, R2ADJ option is ignored.

Author

Kyun-Seop Bae <[email protected]>

Details

Tabular output of NCA with many subjects. Author recommends to use excludeDelta option with about 0.3.

See Also

help, sNCA

Examples

Run this code
tblNCA(Theoph, key="Subject", dose=320, concUnit="mg/L")
tblNCA(Indometh, key="Subject", colTime="time", colConc="conc", dose=25,
       adm="Infusion", dur=0.5, concUnit="mg/L")

# Steady state, q12h: one dosing interval per subject from the pre-dose trough to the next
# dose. tau is the dosing interval; AUCTAU, CAVG, CLFO and VZFO are derived over it.
dSS = data.frame(ID = rep(1:2, each=6), Time = rep(c(0, 1, 2, 4, 8, 12), 2),
                 conc = c(2, 6, 10, 8, 4, 2, 3, 9, 15, 12, 6, 3))
tblNCA(dSS, key="ID", dose=100, concUnit="mg/L", SS=TRUE, tau=12)

Run the code above in your browser using DataLab