cv.pctcng {YRmisc} | R Documentation |
Calculating the percentage change of a time series vector for further analysis, including calculating beta of companies, plotting to see the trend of the stock for technical analysis.
cv.pctcng(x,n)
x |
:a numeric vector |
n |
: number of lag periods |
cv.pctcng(mtcars[,1],1)