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’.
| Version: | 1.3.0 |
| Depends: | R (≥ 4.0.0) |
| Imports: | assertthat, dplyr, ggplot2, jsonlite, jsonvalidate, LaplacesDemon, magrittr, MASS, methods, purrr, readr, rlang, tibble, tidyr, utils |
| Suggests: | devtools, knitr, pkgdown, rmarkdown, roxygen2, testthat, xfun |
| Published: | 2026-01-27 |
| DOI: | 10.32614/CRAN.package.campsismod |
| Author: | Nicolas Luyckx [aut, cre] |
| Maintainer: | Nicolas Luyckx <nicolas.luyckx at calvagone.com> |
| BugReports: | https://github.com/Calvagone/campsismod/issues |
| License: | GPL (≥ 3) |
| URL: | https://github.com/Calvagone/campsismod, https://calvagone.github.io/, https://calvagone.github.io/campsismod.doc/ |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | campsismod results |
| Reference manual: | campsismod.html , campsismod.pdf |
| Vignettes: |
Get started with Campsis model (source, R code) Create a minimalist model (source, R code) Insight on the structural model (source, R code) Adapt your model (source, R code) Play with compartment properties (source, R code) Adapt your parameters (source, R code) Append a model to another (source, R code) |
| Package source: | campsismod_1.3.0.tar.gz |
| Windows binaries: | r-devel: campsismod_1.2.3.zip, r-release: campsismod_1.2.3.zip, r-oldrel: campsismod_1.2.3.zip |
| macOS binaries: | r-release (arm64): campsismod_1.2.3.tgz, r-oldrel (arm64): campsismod_1.2.3.tgz, r-release (x86_64): campsismod_1.2.3.tgz, r-oldrel (x86_64): campsismod_1.2.3.tgz |
| Old sources: | campsismod archive |
| Reverse depends: | campsis |
Please use the canonical form https://CRAN.R-project.org/package=campsismod to link to this page.