Description Usage Arguments Examples
Compare empirical distribution of counts with the distribution defined by the model fitted to counts. The bar charts represent theoretical counts depending on the chosen distribution. Red dots describe the real number of counts.
1 | plot_fitcmp(fitcmp)
|
fitcmp |
You need to input data frame that is created by compare_fit function. |
1 2 3 | df <- data.frame(poisson = rpois(25, 0.3), binomial = rbinom(25, 1, 0.8))
fitcmp <- compare_fit(df, fitlist = fit_counts(df, model = "all"))
plot_fitcmp(fitcmp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.