autoplot.TaskForecast: Plot for Forecast Tasks

View source: R/autoplot.R

autoplot.TaskForecastR Documentation

Plot for Forecast Tasks

Description

Generates plots for TaskForecast.

Usage

## S3 method for class '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")
autoplot(task)

mlr-org/mlr3forecasting documentation built on June 29, 2023, 11:57 p.m.