plot.incidence2_fit: Plot a fitted epicurve

View source: R/plot_fit.R

plot.incidence2_fitR Documentation

Plot a fitted epicurve

Description

Plot a fitted epicurve

Usage

## S3 method for class 'incidence2_fit'
plot(x, include_warnings = TRUE, ci = TRUE, pi = FALSE, ...)

Arguments

x

An incidence2_fit object created by fit_curve().

include_warnings

Include results in plot that triggered warnings but not errors.

Defaults to FALSE.

ci

Plot confidence intervals.

Defaults to TRUE.

pi

Plot prediction intervals.

Defaults to FALSE.

...

Additional arguments to be passed to incidence2::plot.incidence2() .

Value

An incidence plot with the addition of a fitted curve.

Author(s)

Tim Taylor


i2extras documentation built on March 31, 2023, 5:23 p.m.