campsismod: Generic Implementation of a PK/PD Model

A generic, easy-to-use and expandable implementation of a pharmacokinetic (PK) / pharmacodynamic (PD) model based on the S4 class system. This package allows the user to read and write pharmacometric models from and to files, including a JSON-based interface to import Campsis models defined using a formal JSON schema distributed with the package. Models can be adapted further on the fly in the R environment using an intuitive API to add, modify or delete equations, ordinary differential equations (ODEs), model parameters or compartment properties (such as infusion duration or rate, bioavailability and initial values). The package also provides export facilities for use with the simulation packages ‘rxode2’ and ‘mrgsolve’. The package itself is licensed under the GPL (>= 3); the JSON schema file shipped in inst/extdata is licensed separately under the Creative Commons Attribution 4.0 International (CC BY 4.0). This package is designed and intended to be used with the package ‘campsis’, a PK/PD simulation platform built on top of ‘rxode2’ and ‘mrgsolve’.

Package details

AuthorNicolas Luyckx [aut, cre]
MaintainerNicolas Luyckx <nicolas.luyckx@calvagone.com>
LicenseGPL (>= 3)
Version1.3.0
URL https://github.com/Calvagone/campsismod https://calvagone.github.io/ https://calvagone.github.io/campsismod.doc/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("campsismod")

Try the campsismod package in your browser

Any scripts or data that you put into this service are public.

campsismod documentation built on Jan. 27, 2026, 5:07 p.m.