Learn R Programming

diffusion (version 0.4.0)

plot.diffusion: Plot a fitted diffusion curve.

Description

Produces a plot of a fitted diffusion curve.

Usage

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

Value

None. Function produces a plot.

Arguments

x

diffusion object, produced using diffusion.

cumulative

If TRUE plot cumulative adoption.

...

Unused argument.

Author

Oliver Schaer, info@oliverschaer.ch,

Nikolaos Kourentzes, nikolaos@kourentzes.com

See Also

diffusion.

Examples

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

Run the code above in your browser using DataLab