select_model | R Documentation |
Select the most appropriate model
select_model(fitlist)
fitlist |
a list of fits, as created by |
a data.frame
with two columns: count
representing the name of the count and chosen model
with the model with the lowest BIC.
set.seed(1)
df <- data.frame(poisson1 = rpois(50, 2),
poisson2 = rpois(50, 5),
zip1 = rZIP(50, 2, 0.7),
zip2 = rZIP(50, 5, 0.7))
fitlist_separate <- fit_counts(df, model = c("pois", "zip"))
select_model(fitlist_separate)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.