Generate concentration-time profiles from linear pharmacokinetic (PK) systems, possibly with first-order absorption or zero-order infusion, possibly with one or more peripheral compartments, and possibly under steady-state conditions. Single or multiple doses may be specified. Secondary (derived) PK parameters (e.g. Cmax, Ctrough, AUC, Tmax, half-life, etc.) are computed.
An R package for generating concentration-time profiles from linear pharmacokinetic (PK) systems.
To install from CRAN:
To install the latest development version directly from GitHub:
For an introduction to the package, with usage examples, see the vignette.
There is a shiny app that provides a demo of the package capabilities, and also generates code that can be placed in an R script. To run it, paste the following lines in an R console:
require(shiny)shiny::runGitHub("linpk", "benjaminrich", subdir="inst/demo")