Skip to contents

Plot a fitted epicurve

Usage

# S3 method for 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

Tim Taylor