Learn R Programming

⚠️There's a newer version (0.1.3) of this package.Take me there.

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

235

Version

0.1.2

License

GPL-3

Maintainer

Thomas Nagler

Last Published

March 19th, 2019

Functions in cctools (0.1.2)

dusb

Uniform scaled beta distribution
expand_vec

Expand a vector like expand_as_numeric
cont_conv

Continuous convolution
expand_names

Expands names for expand_as_numeric
cckde

Continuous convolution density estimator
expand_as_numeric

Numeric model matrix for continuous convolution
cctools-package

Tools for the continuous convolution trick in nonparametric estimation