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.
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")
This package is free and open source software, licensed under GPL 3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.