autoplot.lfq_forecast: Plot a lineage frequency forecast

View source: R/methods-plot.R

autoplot.lfq_forecastR Documentation

Plot a lineage frequency forecast

Description

Plot a lineage frequency forecast

Usage

## S3 method for class 'lfq_forecast'
autoplot(object, ...)

Arguments

object

An lfq_forecast object.

...

Ignored.

Value

A ggplot object.

Examples


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)



lineagefreq documentation built on April 3, 2026, 9:09 a.m.