plot.diffusion {diffusion}R 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)


[Package diffusion version 0.4.0 Index]