ts2df {ggdemetra}R Documentation

Convert 'ts' object to 'data.frame'

Description

Function to a ts or mts object to a data.frame that can be directly used in the plot functions.

Usage

ts2df(x)

Arguments

x

a ts or mts object.

Value

a data.frame object.

Examples

# To get the ipi_c_eu_df object:
ts2df(ipi_c_eu)

[Package ggdemetra version 0.2.8 Index]