| autoplot.lfq_forecast | R Documentation |
Plot a lineage frequency forecast
## S3 method for class 'lfq_forecast'
autoplot(object, ...)
object |
An |
... |
Ignored. |
A ggplot object.
sim <- simulate_dynamics(n_lineages = 3,
advantages = c("A" = 1.2, "B" = 0.8), seed = 1)
fit <- fit_model(sim)
fc <- forecast(fit, horizon = 14)
autoplot(fc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.