Learn R Programming

⚠️There's a newer version (1.0.0) of this package.Take me there.

ncappc: NCA Calculations and Population Model Diagnosis

A flexible tool that can perform:

  1. Traditional non-compartmental analysis (NCA) and
  2. Simulation-based posterior predictive checks for population pharmacokinetic (PK) and/or pharmacodynamic (PKPD) models using NCA metrics.

Installation

You need to have R installed. Download the latest version of R from www.r-project.org. Install ncappc in R using one of the following methods:

  • latest stable release -- From CRAN. Write at the R command line:
install.packages("ncappc")
  • Latest development version -- from Github. Note that the command below installs the "master"

(development) branch; if you want the release branch from Github add ref="release" to the install_github() call. The install_github() approach requires that you build from source, i.e. make and compilers must be installed on your system -- see the R FAQ for your operating system; you may also need to install dependencies manually.

devtools::install_github("UUPharmacometrics/ncappc",build_vignettes=TRUE)

Copy Link

Version

Install

install.packages('ncappc')

Monthly Downloads

319

Version

0.3.0

License

GPL-3

Maintainer

Andrew C Hooker

Last Published

August 24th, 2018

Functions in ncappc (0.3.0)

histobs.plot

Plots histogram of selected set of NCA metrics.
read_nm_table

Read NONMEM table files produced.
nca.check.sim

Check simulated data
out.digits

output value with correct digits and trailing zero
nca.deviation.plot

Plot individual deviation of NCA metrics estimated from observed and simulated data
ncappc

Performs NCA calculations and population PK model diagnosis.
histpop.plot

Plots population histogram of the NCA metrics selected for model diagnosis.
nca.npde.plot

Plots population histogram of the NCA metrics selected for model diagnosis.
nca.check.obs

Check observed data
nca.read.sim

Check observed data
nca_ind_data

Prepare individual PK data
nca.pde.deviation.outlier

Calculates individual prediction distribution errors (PDE) and scaled deviation of NCA metrics estimated from observed and simulated data. Identifies outlier to population PK model.
nca.ind.data

Prepare individual PK data
nca.npde

Calculates individual normalized prediction distribution errors (NPDE) from PDE data.
est.nca

Estimate individual NCA metrics.
calc.stat

Calculates a set of statistics for a given array of numbers.
dv.plot

Plots drug plasma concentration vs time data