percent.change.vector
Calculate the percent change
Description
Calculate the percent change for a time series.
Usage
percent.change.vector(series, lag=1)
Required Arguments
Optional Arguments
- lag
-
The percent change is calculated relative to lag periods prior.
Value
A time series of the percent change relative to lag periods prior. lag data
points are lost from the beginning of the series.
See Also
Examples
percent.change.vector(series)
return to Table of Contents