hdrcde

R package hdrcde: Highest density regions and conditional density estimation. Computation of highest density regions in one and two dimensions, kernel estimation of univariate density functions conditional on one covariate, and multimodal regression.