I0_series: Differentiate time series

Description Usage Arguments Value Examples

View source: R/FunctionsDEF.R

Description

With this function is possible to differentiate a series to obtain the I(0) version. By default it uses the GDP observation from the default dataset.

Usage

1
I0_series(x = DATA$GDP_PERCAPITA, t = DATA$DATE)

Arguments

x

The numeric vector of the observations you want to visualize.

t

The vector of the dates used to index the data.

Value

This function calculates the order of integration of your time series and gives you as output the differentiated one as a zoo object.

Examples

1
##You can try this    I0INFL <- I0_series(x=DATA$INFLATION, t=DATA$DATE)

unimi-dse/a45b803b documentation built on Feb. 18, 2020, 3:52 a.m.