Description Usage Arguments Value Examples
Fit counts to distributions
1 | fit_counts(counts_list, separate = TRUE, model, level = 0.95, ...)
|
counts_list |
A |
separate |
|
model |
single |
level |
Confidence level, default is 0.95. |
... |
Dots parameters are ignored. |
The list of fitted models. Names are names of original counts, an underline
and a name of model used.
confint is a matrix
with the number of rows equal to the number of
parameters. Rownames are names of parameters. The columns contain respectively
lower and upper confidence intervals.
1 2 | df <- data.frame(poisson = rpois(25, 0.3), binomial = rbinom(25, 1, 0.8))
fit_counts(df, model = "pois")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.