PKNCA: Perform Pharmacokinetic Non-Compartmental Analysis

Compute standard Non-Compartmental Analysis (NCA) parameters and summarize them. In addition to this core work, it also provides standardized plotting routines, basic assessments for biocomparison or drug interaction, and model-based estimation routines for calculating doses to reach specific values of AUC or Cmax.

Install the latest version of this package by entering the following in R:
AuthorBill Denney [aut, cre], Clare Buckeridge [aut], Sridhar Duvvuri [ctb]
Date of publication2017-02-27 08:15:20
MaintainerBill Denney <>

View on CRAN

Man pages

add.interval.col: Add columns for calculations within PKNCA intervals

addProvenance: Add a hash and associated information to enable checking...

adj.r.squared: Calculate the adjusted r-squared value

AIC.list: Assess the AIC for all models in a list of models Extract the parameter results from a PKNCAresults and return...

business.mean: Generate functions to do the named function (e.g. mean)...

check.conc.time: Verify that the concentration and time are valid

check.conversion: Check that the conversion to a data type does not change the...

check.interval.deps: Take in a single row of an interval specification and return...

check.interval.specification: Check the formatting of a calculation interval specification...

checkProvenance: Check the hash of an object to confirm its provenance.

choose.auc.intervals: Choose intervals to compute AUCs from time and dosing...

clean.conc.blq: Handle BLQ values in the concentration measurements as... Handle NA values in the concentration measurements as...

exclude: Exclude data points or results from calculations or...

findOperator: Find the first occurrence of an operator in a formula and...

find.tau: Find the repeating interval within a vector of doses

formula.parseFormula: Convert the parsed formula back into the original

formula.PKNCAconc: Extract the formula from a PKNCAconc object.

geomean: Compute the geometric mean, sd, and CV Extract the best model from a list of models using AIC.list.

getColumnValueOrNot: Get the value from a column in a data frame if the value is a...

getData.PKNCAconc: Extract all the original data from a PKNCAconc or PKNCAdose...

getDepVar: Get the dependent variable (left hand side of the formula)...

get.first.model: Get the first model from a list of models

getGroups.PKNCAconc: Get the groups (right hand side after the '|' from a PKNCA...

getIndepVar: Get the independent variable (right hand side of the formula)...

get.interval.cols: Get the columns that can be used in an interval specification

get.parameter.deps: Get all columns that depend on a parameter

interp.extrap.conc: Interpolate concentrations between measurements or...

merge.splitlist: Merge two or more lists with a data.frame 'groupid' attribute...

model.frame.PKNCAconc: Extract the columns used in the formula (in order) from a...

parseFormula: Parse a formula into its component parts. Run any function with a maximum missing fraction of X and 0s...

pk.calc.aucpext: Calculate the AUC percent extrapolated

pk.calc.auxc: A compute the Area Under the (Moment) Curve

pk.calc.c0: Estimate the concentration at dosing time for an IV bolus...

pk.calc.cav: Calculate the average concentration during an interval. Calculate the (observed oral) clearance

pk.calc.clast.obs: Determine the last observed concentration above the limit of...

pk.calc.cmax: Determine maximum observed PK concentration

pk.calc.ctrough: Determine the trough (predose) concentration

pk.calc.deg.fluc: Determine the degree of fluctuation

pk.calc.f: Calculate the absolute (or relative) bioavailability Compute the half-life and associated parameters

pk.calc.kel: Calculate the elimination rate (Kel)

pk.calc.mrt: Calcuate the mean residence time (MRT)

pk.calc.ptr: Determine the peak-to-trough ratio

pk.calc.swing: Determine the PK swing

pk.calc.thalf.eff: Calculate the effective half-life

pk.calc.tlag: Determine the observed lag time (time before the first...

pk.calc.tlast: Determine time of last observed concentration above the limit...

pk.calc.tmax: Determine time of maximum observed PK concentration

pk.calc.vd: Calculate the volume of distribution (Vd) or observed volume...

pk.calc.vss: Calculate the steady-state volume of distribution (Vss)

pk.calc.vz: Calculate the terminal volume of distribution (Vz)

pk.nca: Compute NCA parameters for each interval for each subject.

PKNCA: Compute noncompartmental pharmacokinetics

PKNCA.choose.option: Choose either the value from an option list or the current...

PKNCAconc: Create a PKNCAconc object

PKNCAdata: Create a PKNCAdata object.

PKNCAdose: Create a PKNCAdose object

pk.nca.interval: Compute all PK parameters for a single concentration-time...

PKNCA.options: Set default options for PKNCA functions

PKNCA.options.describe: Describe a PKNCA.options option by name.

PKNCAresults: Generate a PKNCAresults object

PKNCA.set.summary: Define how NCA parameters are summarized.

pk.tss: Compute the time to steady-state (tss) Clean up the time to steady-state parameters and return a...

pk.tss.monoexponential: Compute the time to steady state using nonlinear,...

pk.tss.monoexponential.individual: A helper function to estimate individual and single outputs...

pk.tss.monoexponential.population: A helper function to estimate population and popind outputs...

pk.tss.stepwise.linear: Compute the time to steady state using stepwise test of...

plot.PKNCAconc: Plot a PKNCAconc object

print.PKNCAconc: Print and/or summarize a PKNCAconc or PKNCAdose object.

print.PKNCAdata: Print a PKNCAdata object

print.provenance: Print the summary of a provenance object

roundingSummarize: During the summarization of PKNCAresults, do the rounding of...

roundString: Round a value to a defined number of digits printing out...

setDuration: Set the duration of dosing or measurement

setExcludeColumn: Set the exclude parameter on an object

setRoute: Set the dosing route

signifString: Round a value to a defined number of significant digits...

sort.interval.cols: Sort the interval columns by dependencies.

split.PKNCAconc: Divide into groups

summary.PKNCAdata: Summarize a PKNCAdata object showing important details about...

summary.PKNCAresults: Summarize PKNCA results

superposition: Compute noncompartmental superposition for repeated dosing

tss.monoexponential.generate.formula: A helper function to generate the formula and starting values...


add.interval.col Man page
addProvenance Man page
adj.r.squared Man page
AIC.list Man page Man page Man page
business.geocv Man page
business.geomean Man page
business.max Man page
business.mean Man page
business.median Man page
business.min Man page
business.range Man page Man page
check.conc.time Man page
check.conversion Man page
check.interval.deps Man page
check.interval.specification Man page
checkProvenance Man page
choose.auc.intervals Man page
clean.conc.blq Man page Man page
exclude Man page
exclude.PKNCAconc Man page
exclude.PKNCAdose Man page
exclude.PKNCAresults Man page
extrapolate.conc Man page
findOperator Man page
find.tau Man page
formula.parseFormula Man page
formula.PKNCAconc Man page
formula.PKNCAdose Man page
geocv Man page
geomean Man page
geosd Man page
geosd, Man page Man page
getColumnValueOrNot Man page
getData.PKNCAconc Man page
getData.PKNCAdose Man page
getDepVar Man page
get.first.model Man page
getGroups.PKNCAconc Man page
getGroups.PKNCAdose Man page
getGroups.PKNCAresults Man page
getIndepVar Man page
get.interval.cols Man page
get.parameter.deps Man page
interp.extrap.conc Man page
interp.extrap.conc.dose Man page
interpolate.conc Man page
merge.splitlist Man page
model.frame.PKNCAconc Man page
model.frame.PKNCAdose Man page
parseFormula Man page Man page
pk.calc.auc Man page
pk.calc.auc.all Man page
pk.calc.auc.inf Man page
pk.calc.auc.inf.obs Man page
pk.calc.auc.inf.pred Man page
pk.calc.auc.last Man page
pk.calc.aucpext Man page
pk.calc.aucpext.obs Man page
pk.calc.aucpext.pred Man page
pk.calc.aumc Man page
pk.calc.aumc.all Man page
pk.calc.aumc.inf Man page
pk.calc.aumc.inf.obs Man page
pk.calc.aumc.inf.pred Man page
pk.calc.aumc.last Man page
pk.calc.auxc Man page
pk.calc.c0 Man page
pk.calc.c0.method.c0 Man page
pk.calc.c0.method.c1 Man page
pk.calc.c0.method.cmin Man page
pk.calc.c0.method.logslope Man page
pk.calc.c0.method.set0 Man page
pk.calc.cav Man page Man page Man page
pk.calc.clast.obs Man page Man page Man page Man page
pk.calc.cmax Man page
pk.calc.cmin Man page
pk.calc.ctrough Man page
pk.calc.deg.fluc Man page
pk.calc.f Man page Man page
pk.calc.kel Man page
pk.calc.kel.obs Man page
pk.calc.kel.pred Man page
pk.calc.mrt Man page
pk.calc.mrt.last Man page
pk.calc.mrt.obs Man page
pk.calc.mrt.pred Man page
pk.calc.ptr Man page
pk.calc.swing Man page
pk.calc.tfirst Man page
pk.calc.thalf.eff Man page
pk.calc.tlag Man page
pk.calc.tlast Man page
pk.calc.tmax Man page
pk.calc.vd Man page
pk.calc.vd.obs Man page
pk.calc.vd.pred Man page
pk.calc.vss Man page
pk.calc.vss.obs Man page
pk.calc.vss.pred Man page
pk.calc.vz Man page
pk.calc.vz.obs Man page
pk.calc.vz.pred Man page
pk.nca Man page
PKNCA Man page
PKNCA.choose.option Man page
PKNCAconc Man page Man page
PKNCAconc.default Man page
PKNCAconc.tbl_df Man page
PKNCAdata Man page
PKNCAdata.default Man page
PKNCAdata.PKNCAconc Man page
PKNCAdata.PKNCAdose Man page
PKNCAdose Man page Man page
PKNCAdose.default Man page
PKNCAdose.tbl_df Man page
pk.nca.interval Man page
PKNCA.options Man page
PKNCA.options.describe Man page
PKNCA-package Man page
PKNCAresults Man page
PKNCA.set.summary Man page
pk.tss Man page Man page
pk.tss.monoexponential Man page
pk.tss.monoexponential.individual Man page
pk.tss.monoexponential.population Man page
pk.tss.stepwise.linear Man page
plot.PKNCAconc Man page
plot.PKNCAdata Man page
print.PKNCAconc Man page
print.PKNCAdata Man page
print.PKNCAdose Man page
print.provenance Man page
roundingSummarize Man page
roundString Man page
setDuration Man page
setDuration.PKNCAdose Man page
setExcludeColumn Man page
setRoute Man page
setRoute.PKNCAdose Man page
signifString Man page
sort.interval.cols Man page
split.PKNCAconc Man page
split.PKNCAdata Man page
split.PKNCAdose Man page
summary.PKNCAconc Man page
summary.PKNCAdata Man page
summary.PKNCAdose Man page
summary.PKNCAresults Man page
superposition Man page
superposition.numeric Man page
superposition.PKNCAconc Man page
tss.monoexponential.generate.formula Man page


inst/doc/Methods-for-Dose-Aware-Interpolation-and-Extrapolation.R inst/doc/Superposition.R inst/doc/Selection-of-Calculation-Intervals.R
inst/doc/Introduction-and-Usage.R inst/doc/Writing-Parameter-Functions.R
tests/testthat/test-interpolate.conc.R tests/testthat/test-check.intervals.R tests/testthat/test-pk.calc.simple.R tests/testthat/test-001-add.interval.col.R tests/testthat/test-merge.R tests/testthat/test-class-PKNCAdose.R tests/testthat/test-cleaners.R tests/testthat/test-provenance.R tests/testthat/test-class-PKNCAresults.R tests/testthat/test-exclude.R tests/testthat/test-class-PKNCAconc.R tests/testthat/test-class-PKNCAdata.R tests/testthat/ tests/testthat/test-general.functions.R tests/testthat/ tests/testthat/test-pk.calc.all.R tests/testthat/test-auc.R tests/testthat/test-superpostion.R tests/testthat/test-PKNCA.options.R tests/testthat/test-class-general.R tests/testthat/test-AIC.list.R tests/testthat/test-parseFormula.R tests/testthat/test-choose-intervals.R tests/testthat/test-pk.calc.c0.R tests/testthat/ tests/testthat/
R/parseFormula.R R/provenance.R R/superposition.R R/AIC.list.R R/tss.stepwise.linear.R R/001-add.interval.col.R R/tss.monoexponential.R R/class-PKNCAdata.R R/pk.calc.c0.R R/pk.calc.all.R R/tss.R R/class-PKNCAresults.R R/ R/class-general.R R/check.intervals.R R/cleaners.R R/PKNCA.R R/ R/PKNCA.options.R R/choose.intervals.R R/class-PKNCAconc.R R/general.functions.R R/merge.R R/class-PKNCAdose.R R/exclude.R R/pk.calc.simple.R R/auc.R R/interpolate.conc.R
man/pk.calc.mrt.Rd man/ man/check.conc.time.Rd man/pk.calc.kel.Rd man/parseFormula.Rd man/ man/split.PKNCAconc.Rd man/exclude.Rd man/geomean.Rd man/pk.calc.auxc.Rd man/ man/pk.calc.tmax.Rd man/pk.nca.Rd man/plot.PKNCAconc.Rd man/business.mean.Rd man/addProvenance.Rd man/PKNCAdose.Rd man/pk.tss.monoexponential.population.Rd man/pk.calc.deg.fluc.Rd man/print.PKNCAdata.Rd man/pk.calc.c0.Rd man/summary.PKNCAresults.Rd man/pk.calc.ctrough.Rd man/PKNCAconc.Rd man/PKNCA.options.describe.Rd man/pk.calc.clast.obs.Rd man/getDepVar.Rd man/choose.auc.intervals.Rd man/find.tau.Rd man/AIC.list.Rd man/pk.calc.vss.Rd man/check.conversion.Rd man/signifString.Rd man/pk.tss.monoexponential.Rd man/pk.calc.swing.Rd man/setRoute.Rd man/superposition.Rd man/PKNCAdata.Rd man/sort.interval.cols.Rd man/pk.tss.stepwise.linear.Rd man/roundingSummarize.Rd man/get.first.model.Rd man/ man/merge.splitlist.Rd man/getIndepVar.Rd man/roundString.Rd man/pk.tss.monoexponential.individual.Rd man/pk.calc.tlast.Rd man/ man/adj.r.squared.Rd man/findOperator.Rd man/getGroups.PKNCAconc.Rd man/formula.PKNCAconc.Rd man/interp.extrap.conc.Rd man/pk.calc.vd.Rd man/PKNCA.Rd man/pk.calc.f.Rd man/formula.parseFormula.Rd man/pk.calc.thalf.eff.Rd man/get.interval.cols.Rd man/pk.calc.aucpext.Rd man/summary.PKNCAdata.Rd man/PKNCA.options.Rd man/pk.calc.tlag.Rd man/add.interval.col.Rd man/tss.monoexponential.generate.formula.Rd man/pk.calc.vz.Rd man/ man/model.frame.PKNCAconc.Rd man/ man/PKNCAresults.Rd man/pk.tss.Rd man/checkProvenance.Rd man/check.interval.specification.Rd man/pk.calc.cav.Rd man/PKNCA.choose.option.Rd man/get.parameter.deps.Rd man/check.interval.deps.Rd man/pk.calc.cmax.Rd man/clean.conc.blq.Rd man/setExcludeColumn.Rd man/getData.PKNCAconc.Rd man/pk.calc.ptr.Rd man/setDuration.Rd man/print.PKNCAconc.Rd man/PKNCA.set.summary.Rd man/print.provenance.Rd man/getColumnValueOrNot.Rd man/pk.nca.interval.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.