Skip to contents

Generates plots for TaskFcst.

Usage

# S3 method for class 'TaskFcst'
autoplot(object, theme = ggplot2::theme_minimal(), facets = FALSE, ...)

Arguments

object

(TaskFcst).

theme

(ggplot2::theme())
The ggplot2::theme_minimal() is applied by default to all plots.

facets

(logical(1))
For keyed tasks, draw one panel per series instead of one coloured line per series. Default FALSE.

...

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

Value

ggplot2::ggplot() object.

Examples

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