campsisnca - Non-Compartmental Analysis for Campsis Simulation Platform
A flexible and user-friendly non-compartmental analysis
(NCA) toolkit designed to work seamlessly with simulated
pharmacokinetic data generated using the 'campsis' ecosystem.
The package provides a comprehensive framework to compute
standard and custom NCA metrics, including exposure (AUC),
peak/trough concentrations, half-life and time-above/below
thresholds, with support for configurable time windows and
summary statistics. 'campsisnca' integrates tightly with
'campsis' and 'campsismod', enabling streamlined workflows from
simulation to analysis. In addition, the package provides a
JSON-based interface to define NCA analyses, metrics and
options using formal schemas, allowing analyses to be created,
validated and executed outside of R and facilitating
reproducibility, automation and system integration. The package
also includes utilities for generating formatted summary tables
and exporting results in multiple formats suitable for
reporting. Trapezoidal rule implementation for AUC calculation
is based on the 'qpNCA' package by Huisman, Jolling, Mehta and
Bergsma (2021) <doi:10.32614/CRAN.package.qpNCA>, following
methodology from Rowland and Tozer (2011,
ISBN:978-0-683-07404-8). The package itself is licensed under
the GPL (>= 3); the JSON schema files shipped in inst/extdata
are licensed separately under the Creative Commons Attribution
4.0 International (CC BY 4.0).