Tools for the Continuous Convolution Trick in Nonparametric Estimation

Implements the uniform scaled beta distribution and the continuous convolution kernel density estimator.

Build status Linux Build status Windows CRAN version License: GPL v3

cctools is an R package implementing the uniform scaled beta distribution, a generic function for continuous convolution, and the continuous convolution kernel density estimator, see Nagler (2017).

How to install

  • the stable release on CRAN:
  • the latest development version:


For a detailed description, see the API documentation.

  • dusb(), rusb(): Density and simulation functions for the uniform scaled beta distribution.
  • cont_conv(): Expands all factor variables in a data frame and applies the continuous convolution tricks to all ordered() variables.
  • cckde(), dcckde(), predict.cckde(): fit and evaluate the continuous convolution kernel density estimator.


Nagler, T. (2017). A generic approach to nonparametric function estimation with mixed data. arXiv:1704.07457


cctools 0.1.1


  • Expanded factor dummies now contain the name of the factor level.

cctools 0.1.0

First release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.2 by Thomas Nagler, 2 years ago

Browse source code at

Authors: Thomas Nagler [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports stats, Rcpp, qrng

Suggests testthat

Linking to Rcpp, RcppArmadillo

Imported by kdevine.

See at CRAN