Learn R Programming

tsgc (version 0.0)

df2ldl: Compute log growth rate of cumulated dataset

Description

Helper method to compute the log growth rates of cumulated variables. It will compute the log cumulative growth rate for each column in the data frame.

Usage

df2ldl(dt)

Value

A data frame of log growth rates of the cumulated variable which has been inputted via the parameter dt.

Arguments

dt

Cumulated data series.

Examples

Run this code
library(tsgc)
data(gauteng,package="tsgc")
df2ldl(gauteng)


Run the code above in your browser using DataLab