powered by
Calculating the rate of return of a vector for further analysis, including calculating beta of companies, plotting to see the trend of the stock for technical analysis.
fpctcng(x,n)
:a numeric vector
: number of lag periods
# NOT RUN { fpctcng(mtcars[,1],1) # }
Run the code above in your browser using DataLab