Generates plots for TaskForecast.

# S3 method for TaskForecast
autoplot(object, ...)

Arguments

object

(TaskForecast).

...

(any): Additional argument, passed down to the underlying geom or plot functions.

Value

ggplot2::ggplot() object.

Examples

library(mlr3)
library(mlr3temporal)
library(ggplot2)

task = tsk("airpassengers")
autoplot(task)


task = tsk("petrol")
#> Registered S3 method overwritten by 'quantmod':
#>   method            from
#>   as.zoo.data.frame zoo 
autoplot(task)