Learn R Programming

countfitteR (version 1.4)

countfitteR-package: countfitteR - a framework for fitting count distributions in R

Description

The countfitteR package is a toolbox for the analysis of count data.

Arguments

Acknowledgements

countfitteR is a wrapper around existing count models in R. To standardize error messages and ease up the integration, we slightly modified the zeroinfl function by Achim Zeileis.

Author

Jaroslaw Chilimoniuk, Stefan Roediger, Michal Burdukiewcz

Examples

Run this code
set.seed(15390)
library(countfitteR)
df <- data.frame(pois = rpois(25, 0.3), 
                 binom = rbinom(25, 1, 0.8))

cmp <- compare_fit(df, fitlist = fit_counts(df, model = "all"))

Run the code above in your browser using DataLab