fit_curve | R Documentation |
Fit an epi curve
fit_curve(x, model = c("poisson", "negbin"), alpha = 0.05, ...)
x |
An incidence2::incidence object. |
model |
The regression model to fit (can be "poisson" or "negbin"). |
alpha |
Value of alpha used to calculate confidence intervals; defaults to 0.05 which corresponds to a 95% confidence interval. |
... |
Additional arguments to pass to |
An object of class incidence2_fit
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.