Skip to content

ggdensity

1.0.1Package record

Interpretable Bivariate Density Visualization with 'ggplot2'

2packages dependsuggested by 4
12.9Kdownloads / year
96.3%test coverage
13/13flavors OK

Overview

About

The 'ggplot2' package provides simple functions for visualizing contours of 2-d kernel density estimates. 'ggdensity' implements several additional density estimators as well as more interpretable visualizations based on highest density regions instead of the traditional height of the estimated density surface.

Changes in 1.0.1

Fixes

  • Package startup message no longer effects the sessions RNG (Reported by @TimTaylor #34)
  • Fixed ordering of probabilities in the plot legend to be independent of order specified in probs argument (Reported by @z3tt #32)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.1
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileNoWebsiteYes · pkgdown
Help pages
17
Examples that run
94%15 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
84%
Return-value docs
13%
Help pages citing references
29%
Vignettes (1)

Downloads

12.9K
CRAN downloads in the past year
Rank #3,560 · ~35/day · ~1.1K/mo
Daily download trend is not available in this view yet.
98130 days
2.9K90 days
12.9K1 year
Compare downloads with other packages →
Also on343 r2u6 autocran1.3K conda_forge

Repository

234Stars
14Forks
5Open issues
0Open PRs
0Releases
249Commits
3Commit identities
249 commits · Last activity 2026-02-25 · +0.4% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
71
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-02 · 2302026-09-23 · 234
PracticesBeta

11 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/jamesotto852/ggdensity on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-02-25 · The repository has a site deploy workflow

pkgdown site last built 2026-02-25, before release 1.0.1 (2026-02-26)

Coverage (1)
Coverage reporting
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing ggdensity adds 22 packages (10 with compiled code, 15 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
Imports (6)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 4
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.0.1 (2022), Copyright holder
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    record
    2026-02-26 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    record
    2023-02-10 · diff ↗ ·
    added 14 exports
    GeomHdrRugFun, StatHdrRugFun, geom_hdr_rug_fun, get_hdr, get_hdr_1d, method_freqpoly, method_freqpoly_1d, method_histogram, method_histogram_1d, method_kde, method_kde_1d, method_mvnorm, method_norm_1d, stat_hdr_rug_fun
  • 0.1.1
    record
    2022-10-24 · diff ↗
  • 0.1.0
    record
    2022-07-20 · diff ↗ ·
    added 10 exports
    GeomHdrRug, StatHdrPoints, StatHdrPointsFun, StatHdrRug, geom_hdr_points, geom_hdr_points_fun, geom_hdr_rug, stat_hdr_points, stat_hdr_points_fun, stat_hdr_rug
  • R
    R 4.2.0 released · 2022-04-22
  • 0.0.1
    record
    2022-02-15
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-15
Total releases
5 / 4 yrs
License
MIT + file LICENSE OSI
Download size
1.2 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ggdensity")
Otto, J., & Kahle, D. (2026). ggdensity: Interpretable Bivariate Density Visualization with 'ggplot2' (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.ggdensity

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggdensity version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy