cv.diff: Calculating the difference of a time series

Description Usage Arguments Examples

View source: R/cv.diff.R

Description

Calculate the difference of a time series, with a specific lag period. The difference is used to show the change in value over set period.

Usage

1
cv.diff(x,n)

Arguments

x

: a numeric vector

n

: number of lag periods

Examples

1

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to cv.diff in YRmisc...