| sNCA | R Documentation |
This is the work-horse function for NCA.
sNCA(x, y, dose = 0, adm = "Extravascular", dur = 0, doseUnit = "mg", timeUnit = "h",
concUnit = "ug/L", iAUC = "", down = "Linear", R2ADJ = 0.7, MW = 0, SS = FALSE,
tau = NA, unitTau = "h", Keystring="", excludeDelta = 1, UsePoints = NULL)
x |
usually time, a vector |
y |
usually concentration, a vector |
dose |
given amount, not amount per body weight, a scalar |
adm |
one of |
dur |
duration of infusion, a scalar |
doseUnit |
unit of dose |
timeUnit |
unit of time |
concUnit |
unit of concentration |
iAUC |
interval AUCs to calculate: a data.frame with the columns |
down |
either of |
R2ADJ |
Minimum adjusted R-square value to determine terminal slope automatically |
MW |
molecular weight of the drug |
SS |
if steady-state, this should be TRUE and |
tau |
dosing interval, a positive scalar in the unit of |
unitTau |
unit of |
Keystring |
a text string to be shown at the plot in case of manual selection of terminal slope |
excludeDelta |
Improvement of R2ADJ larger than this value could exclude the last point. Default value 1 is for the compatibility with other software. |
UsePoints |
Indices of points to calculate terminal slope. Vaules of use points should not be zero. Use only when automatic determination is not satisfactory. If this is used, R2ADJ option is ignored. |
This replaced previous IndiNCA. Author recommends to use excludeDelta option with about 0.3.
CMAX |
maximum concentration, Cmax; within the dosing interval (0 to tau) when |
CMAXD |
dose normalized Cmax, CMAX / Dose, Cmax / Dose |
TMAX |
time of maximum concentration, Tmax; within the dosing interval (0 to tau) when |
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 |
CAVG |
average concentration over the dosing interval at steady state, AUCTAU / tau. With |
MRTIVLST |
mean residence time (MRT) to TLST, for intravascular administration |
MRTIVIFO |
mean residence time (MRT) infinity using CLST, for intravascular administration. When |
MRTIVIFP |
mean residence time (MRT) infinity using CLSTP, for intravascular administration. When |
MRTEVLST |
mean residence time (MRT) to TLST, for extravascular administration |
MRTEVIFO |
mean residence time (MRT) infinity using CLST, for extravascular administration. When |
MRTEVIFP |
mean residence time (MRT) infinity using CLSTP, for extravascular administration. When |
VZO |
volume of distribution determined by LAMZ and AUCIFO (AUCTAU when |
VZP |
volume of distribution determined by LAMZ and AUCIFP, for intravascular administration; NA when |
VZFO |
VZO for extravascular administration, VZO/F, F is bioavailability |
VZFP |
VZP for extravascular administration, VZP/F, F is bioavailability; NA when |
CLO |
clearance using AUCIFO (dose / AUCTAU when |
CLP |
clearance using AUCIFP, for intravascular administration; NA when |
CLFO |
CLO for extravascular administration, CLO/F, F is bioavailability |
CLFP |
CLP for extravascular administration, CLP/F, F is bioavailability; NA when |
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 |
units |
An attribute to show units |
UsedPoints |
An attribute to show indices of used points |
Kyun-Seop Bae <k@acr.kr>
Gabrielsson J, Weiner D. Pharmacokinetic and Pharmacodynamic Data Analysis - Concepts and Applications. 5th ed. 2016.
help, tblNCA
# For one subject
x = Theoph[Theoph$Subject=="1","Time"]
y = Theoph[Theoph$Subject=="1","conc"]
sNCA(x, y, dose=320, doseUnit="mg", concUnit="mg/L", timeUnit="h")
sNCA(x, y, dose=320, concUnit="mg/L")
iAUC = data.frame(Name=c("AUC[0-12h]","AUC[0-24h]"), Start=c(0,0), End=c(12,24))
sNCA(x, y, dose=320, doseUnit="mg", concUnit="mg/L", timeUnit="h", iAUC=iAUC)
MW = 180.164 # Molecular weight of theophylline
sNCA(x, y/MW, dose=320, doseUnit="mg", concUnit="mmol/L", timeUnit="h")
sNCA(x, y/MW, dose=320, doseUnit="mg", concUnit="mmol/L", timeUnit="h", MW=MW)
sNCA(x, y, dose=320/MW, doseUnit="mmol", concUnit="mg/L", timeUnit="h", MW=MW)
sNCA(x, y/MW, dose=320/MW, doseUnit="mmol", concUnit="mmol/L", timeUnit="h", MW=MW)
sNCA(x, y/MW, dose=320/MW, doseUnit="mmol", concUnit="mmol/L", timeUnit="h", MW=MW)
sNCA(x, y/MW, doseUnit="mmol", concUnit="mmol/L", timeUnit="h", MW=MW)
sNCA(x, y/MW, dose=as.numeric(NA), doseUnit="mmol", concUnit="mmol/L", timeUnit="h",
MW=MW)
sNCA(x, y, dose=320, concUnit="mg/L", timeUnit="hr")
sNCA(x*60, y, dose=320, concUnit="mg/L", timeUnit="min")
# Steady state: one dosing interval of a q12h regimen, sampled from the pre-dose trough to
# the next dose. tau is the dosing interval; AUCTAU, CAVG, CLFO and VZFO are derived over it.
xs = c(0, 1, 2, 4, 8, 12)
ys = c(2, 6, 10, 8, 4, 2)
sNCA(xs, ys, dose=100, concUnit="mg/L", SS=TRUE, tau=12)
sNCA(xs, ys, dose=100, concUnit="mg/L", SS=TRUE, tau=0.5, unitTau="d") # the same result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.