graphing HDRs

geom_hdr_boxplot()

Box plot for the highest density region

geom_hdr_rug()

Rug plot for the highest density region

hdr_bin()

Binning highest density regions in one or two dimensions

gghdr scales and guide functions

scale_prob_identity()

Probability colour scales

guide_prob()

Probability shade bar guide

draw_key_hdr_boxplot()

Draw legend key

gghdr stat functions

stat_hdr()

Stat for hdr box and rug plot

stat_hdrcde()

Stat for hdrcde

Datasets

faithful

Example dataframe for gghdr

lane2

Example dataframe for gghdr

Package

gghdr-package

gghdr: Visualisation of Highest Density Regions in 'ggplot2'