Skip to contents

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

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