Generate Concentration-Time Profiles from Linear PK Systems

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.

Travis-CI Build Status

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:

shiny::runGitHub("linpk", "benjaminrich", subdir="inst/demo")


linpk 1.0

  • This is the initial release of linpk on CRAN.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0 by Benjamin Rich, 10 months ago

Browse source code at

Authors: Benjamin Rich [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports graphics, utils, mvtnorm

Suggests knitr, shiny

See at CRAN