Description Usage Arguments Value Examples
Compare empirical distribution of counts with the distribution defined by the model fitted to counts.
1 | compare_fit(count_list, fitlist = fit_counts(count_list, model = "all"))
|
count_list |
A |
fitlist |
a list of fits, as created by |
A data.frame
with distribution values for each unique count.
Count is the name of the original count, model is the name of distribution
model, x is unique count value, n is the frequency of unique counts, value
is result of calculations made by chosen
distribution model.
1 2 | df <- data.frame(poisson = rpois(25, 0.3), binomial = rbinom(25, 1, 0.8))
compare_fit(df, fitlist = fit_counts(df, model = "all"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.