Create Visual Predictive Checks
Overview
Visual predictive checks are a commonly used diagnostic plot in pharmacometrics, showing how certain statistics (percentiles) for observed data compare to those same statistics for data simulated from a model. The package can generate VPCs for continuous, categorical, censored, and (repeated) time-to-event data.
- replaced defunct dplyr functions (
group_by_(),arrange_(),do()) with modern equivalents (group_by(),arrange(),slice()) using.datapronoun - fixed Rd documentation: changed
\itemizewith incorrect\item{}syntax to\describewith proper\item{name}{description}format innew_vpc_theme() - removed broken
\link{sim_data}cross-references from documentation
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 46 (2 internal)includes a package overview page
- Examples that run
- 79%11 run in a plain check · 3 never run
- Exported functions with examples
- 58%
- Documented parameters
- 96%
- Return-value docs
- 53%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 86
- 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
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ronkeizer/vpc on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-02-28 · The repository has a site deploy workflow
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-02-10Named in .Rbuildignore: .claudeCommits: at least 4 crediting it in the message
- Claude Opus 4.64 commits · Feb 2026
Dependencies
Installing vpc adds 42 packages (23 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2.4Latest2026-02-17 · current release · diff ↗ ·
removed 2 exports
show_default_tte, sim_dataadded 6 exports
as_vpcdb, ggplot.vpcdb_categorical, ggplot.vpcdb_censored, ggplot.vpcdb_continuous, ggplot.vpcdb_time_to_event, plot_vpc_helper - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.2.22021-01-11 · diff ↗
- 1.2.12020-06-02 · diff ↗
- 1.2.0
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.1.0
- RR 3.5.0 released · 2018-04-23
- 1.0.12018-01-23 · diff ↗
- 1.0.02017-09-22
Show 1 earlier eventHide 1 earlier event
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-09-22
- Total releases
- 7 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.1.0
- Bundled data
- 586 KB / 3 files
- Download size
- 621 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("vpc")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.