plot.diffusion: Plot a fitted diffusion curve.

View source: R/diffusion.R

plot.diffusionR Documentation

Plot a fitted diffusion curve.

Description

Produces a plot of a fitted diffusion curve.

Usage

## S3 method for class 'diffusion'
plot(x, cumulative = c(FALSE, TRUE), ...)

Arguments

x

diffusion object, produced using diffusion.

cumulative

If TRUE plot cumulative adoption.

...

Unused argument.

Value

None. Function produces a plot.

Author(s)

Oliver Schaer, info@oliverschaer.ch,

Nikolaos Kourentzes, nikolaos@kourentzes.com

See Also

diffusion.

Examples

 fit <- diffusion(tsChicken[, 2])
 plot(fit)


mamut86/diffusion documentation built on April 19, 2024, 12:12 p.m.