The R package hdrcde provides tools for computing highest density regions in one and two dimensions, kernel estimates of univariate density functions conditional on one covariate, and multimodal regression.

Author: Rob J Hyndman with contributions from Jochen Einbeck and Matt Wand

This package implements the methods described in the following papers.

## Installation

You can install the stable version on R CRAN.

install.packages('hdrcde', dependencies = TRUE)

You can install the development version from Github

# install.packages("devtools")
devtools::install_github("robjhyndman/hdrcde")