Description Usage Arguments Value Examples
View source: R/plot-bayesian-bass-model.R
Plots the diffusion curve and the actual observed adoption rates on a timeline plot
1 2 |
x |
An object of class bayesian_bass |
se |
Boolian, default FALSE, if TRUE plots 95% bernoulli confidence intervals of actual observed adoption rates |
... |
Arguments to be passed to methods, such as graphical parameters |
A ggplot object
1 2 3 4 | data(adoption_data)
model <- bayesian_bass_model()
fit <- bayesian_bass(data = adoption_data, var = "adoption", model = model)
plot(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.