This output NCA result in a rtf file.
rtfNCA(fileName = "Temp-NCA.rtf", concData, colSubj = "Subject", colTime = "Time",
colConc = "conc", dose = 0, adm = "Extravascular", dur = 0, doseUnit = "mg",
timeUnit = "h", concUnit = "ug/L", down="Linear", MW = 0)
file name to save
concentration data table
column name for subject ID
column name for time
column name for concentration
administered dose
one of "Bolus"
or "Infusion"
or "Extravascular"
to indicate drug administration mode
duration of infusion
unit of dose
unit of time
unit of concentration
either of "Linear"
or "Log"
to indicate the way to calculate AUC and AUMC
molecular weight of drug
maximum concentration, Cmax
dose normalized Cmax, CMAX / Dose, Cmax / Dose
time of maximum concentration, Tmax
time to observe the first non-zero concentration, for extravascular administration only
last positive concentration observed, Clast
last positive concentration predicted, Clast_pred
time of last positive concentration, Tlast
half-life by lambda z, ln(2)/LAMZ
lambda_z negative of best fit terminal slope
earliest time for LAMZ
last time for LAMZ
number of points for LAMZ
correlation of log(concentration) and time
R-squared
R-squared adjusted
back extrapolated concentration at time 0, for bolus intravascular administration only
AUC from 0 to TLST
AUC using all the given points, including trailing zero concentrations
AUC infinity observed
AUCIFO / Dose
AUC infinity predicted using CLSTP instead of CLST
AUCIFP / Dose
AUC % extrapolation observed
AUC % extrapolated for AUCIFP
AUC % back extrapolation observed, for bolus IV administration only
AUC % back extrapolation predicted with AUCIFP, for bolus IV administration only
AUMC to the TLST
AUMC infinity observed using CLST
AUMC infinity determined by CLSTP
AUMC % extrapolated observed
AUMC % extrapolated predicted
mean residence time (MRT) to TLST, for intravascular administration
mean residence time (MRT) infinity using CLST, for intravascular administration
mean residence time (MRT) infinity using CLSTP, for intravascular administration
mean residence time (MRT) to TLST, for extravascular administration
mean residence time (MRT) infinity using CLST, for extravascular administration
mean residence time (MRT) infinity using CLSTP, for extravascular administration
volume of distribution determined by LAMZ and AUCIFO, for intravascular administration
volume of distribution determined by LAMZ and AUCIFP, for intravascular administration
VZO for extravascular administration, VZO/F, F is bioavailability
VZP for extravascular administration, VZP/F, F is bioavailability
clearance using AUCIFO, for intravascular administration
clearance using AUCIFP, for intravascular administration
CLO for extravascular administration, CLO/F, F is bioavailability
CLP for extravascular administration, CLP/F, F is bioavailability
volume of distribution at steady state using CLST, for intravascular administration only
volume of distribution at stead state using CLSTP, for intravascular administration only
# NOT RUN {
#rtfNCA(fileName="NCA-Theoph.rtf", Theoph, colSubj="Subject", colTime="Time",
# colConc="conc", dose=320, doseUnit="mg", timeUnit="h", concUnit="mg/L")
#rtfNCA(fileName="NCA-Indometh.rtf", Indometh, colSubj="Subject", colTime="time",
# colConc="conc", adm="Infusion", dur=0.5, dose=25, doseUnit="mg",
# timeUnit="h", concUnit="mg/L")
# }
Run the code above in your browser using DataLab