Learn R Programming

ggdemetra (version 0.2.9)

init_ggplot: Initialise 'ggplot2' with 'SA' model

Description

Initialise 'ggplot2' with 'SA' model

Usage

init_ggplot(x, ...)

Arguments

x

A "SA" or "jsA" model created with 'RJDemetra'.

...

Other parameters passes to ggplot2::ggplot()

Examples

Run this code
mod <- RJDemetra::x13(ipi_c_eu[, "FR"])
init_ggplot(mod) +
    geom_line(color =  "#F0B400") +
    geom_sa(component = "sa", color = "#155692")

Run the code above in your browser using DataLab