VPC Percentiles and Prediction Intervals
Overview
Perform a Visual Predictive Check (VPC), while accounting for stratification, censoring, and prediction correction. Using piping from 'magrittr', the intuitive syntax gives users a flexible and powerful method to generate VPCs using both traditional binning and a new binless approach Jamsen et al. (2018) doi:10.1002/psp4.12319 with Additive Quantile Regression (AQR) and Locally Estimated Scatterplot Smoothing (LOESS) prediction correction.
- New
qpcstats()function computes a Quantitative Predictive Check (QPC) score for continuous VPCs, including a compositeqpc_score(lower is better) plus component penalties for coverage, MAE, drift, sharpness, and the Winkler interval score. Works withbinless()andbinning(), with stratification, prediction correction, and censoring. New vignettetidyvpc_qpcdocuments usage #66. - Added support for non-replicate simulated data.
simulated()gainsxsimandreplarguments,stratify()gains adata.simargument, andbinning()/binless()propagate observed-data bins and strata to the simulated data when sim is not a replicate of obs #63. plot.tidyvpcobj()gainscensoring.colorandcensoring.fillarguments to customize the colors used in BLQ/ALQ percentage plots #69.- R CMD check housekeeping: added Linux reference data for binless categorical tests and resolved remaining global-variable NOTEs #71.
- The
tidyvpc_RsNLMEvignette is now shipped as a precompiled PDF (it was previously only available as source).
From NEWS.md in the release
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘generics.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK14 OK2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 27%3 run in a plain check · 7 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 79%
- Documented parameters
- 91%
- Return-value docs
- 86%
- Help pages citing references
- 5%
- Introduction to categorical VPC PDF
- Introduction to categorical VPC HTML
- Introduction to continuous VPC PDF
- Introduction to continuous VPC HTML
- Quantitative Predictive Check (QPC) scoring for VPC PDF
- Quantitative Predictive Check (QPC) scoring for VPC PDF
- tidyvpc with nlmixr2 PDF
- tidyvpc with nlmixr2 HTML
- tidyvpc with RsNLME PDF
- tidyvpc with RsNLME HTML
Downloads
Repository
- PRs merged (all time)
- 98%
- Median days to close, 50 most recently updated closed issues
- 17
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/certara/tidyvpc on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
Show all practicesHide 2 practices
Dependencies
Installing tidyvpc adds 34 packages (17 with compiled code, 36 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.6.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.5.22024-11-22 · diff ↗
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2024-01-18
- 1.5.12024-01-18 · diff ↗
- archivedRemoved from CRAN2024-01-11issues were not corrected in time
- 1.5.02023-10-30 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.4.02022-10-27 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.3.02022-03-10 · diff ↗
- 1.2.0
- RR 4.1.0 released · 2021-05-18
- 1.1.02020-09-29 · diff ↗
Show 3 earlier eventsHide 3 earlier events
- RR 4.0.0 released · 2020-04-24
- 1.0.02020-03-26
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-26
- Total releases
- 9 / 6 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 399 KB / 4 files
- Download size
- 4.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tidyvpc")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.