Learn R Programming

AFR (version 0.3.6)

difflog: Transforming time-series data to stationary

Description

Difference of logarithms is finding the difference between two consecutive logarithm values of a time-series

Usage

difflog(x, lag = 1, difference = 1)

Arguments

x

time-series vector

lag

lagged period

difference

difference between x items

Examples

Run this code
data (macroKZ)
new<-pct1(macroKZ)

Run the code above in your browser using DataLab