Learn R Programming

cctools

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:
install.packages("cctools")
  • the latest development version:
devtools::install_github("tnagler/cctools")

Functions

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.

References

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

Copy Link

Version

Install

install.packages('cctools')

Monthly Downloads

308

Version

0.1.3

License

GPL-3

Maintainer

Thomas Nagler

Last Published

March 24th, 2025

Functions in cctools (0.1.3)

cctools-package

Tools for the continuous convolution trick in nonparametric estimation
expand_names

Expands names for expand_as_numeric
dusb

Uniform scaled beta distribution
cckde

Continuous convolution density estimator
expand_as_numeric

Numeric model matrix for continuous convolution
expand_vec

Expand a vector like expand_as_numeric
cont_conv

Continuous convolution