knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The compak
package provided a discrete associated kernel smoother for estimating probability mass functions using the mean-parametrised Conway-Maxwell-Poisson (COMP) distribution of Huang (2017). Two automated bandwidth selection approaches, one based on minimizing Kullback-Leidler divergence and another based on cross-validation, are also implemented.
compak
is not available on CRAN yet.
You can use the devtools package to install the development version of compak from GitHub:
# install.packages("devtools") devtools::install_github("thomas-fung/compak") library(compak)
A reference manual and some examples are available at thomas-fung.github.io/compak.
If you use this package to analyse your data, please use the following citation:
From R you can use:
citation("compak") toBibtex(citation("compak"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.