Interpretable Bivariate Density Visualization with 'ggplot2'

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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ggdensity")

1.0.1 by James Otto, 8 months ago


https://jamesotto852.github.io/ggdensity/, https://github.com/jamesotto852/ggdensity/


Report a bug at https://github.com/jamesotto852/ggdensity/issues/


Browse source code at https://github.com/cran/ggdensity


Authors: James Otto [aut, cre, cph] (ORCID: , David Kahle [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports isoband, vctrs, tibble, MASS, stats, scales

Depends on ggplot2

Suggests vdiffr, testthat, knitr, rmarkdown


Imported by TransProR, densityarea.

Suggested by IOBR, ggvfields, rbiom, tidynorm.


See at CRAN