Learn R Programming

ggdensity (version 1.0.0)

Interpretable Bivariate Density Visualization with 'ggplot2'

Description

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.

Copy Link

Version

Install

install.packages('ggdensity')

Monthly Downloads

898

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

James Otto

Last Published

February 9th, 2023

Functions in ggdensity (1.0.0)

geom_hdr

Highest density regions of a 2D density estimate
method_freqpoly

Bivariate frequency polygon HDR estimator
geom_hdr_rug

Rug plots of marginal highest density region estimates
geom_hdr_fun

Highest density regions of a bivariate pdf
ggdensity

ggdensity: Stats and Geoms for Density Estimation with ggplot2
get_hdr_1d

Computing the highest density regions of a 1D density
get_hdr

Computing the highest density regions of a 2D density
geom_hdr_points

Scatterplot colored by highest density regions of a 2D density estimate
geom_hdr_points_fun

Scatterplot colored by highest density regions of a bivariate pdf
method_histogram_1d

Univariate histogram HDR estimator
method_mvnorm

Bivariate parametric normal HDR estimator
method_histogram

Bivariate histogram HDR estimator
method_norm_1d

Univariate parametric normal HDR estimator
method_kde_1d

Univariate kernel density HDR estimator
method_freqpoly_1d

Univariate frequency polygon HDR estimator
method_kde

Bivariate kernel density HDR estimator
geom_hdr_rug_fun

Rug plots of highest density region estimates of univariate pdfs