rr {FinAna} | R Documentation |
Calculating rate of return of a vector
Description
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
Usage
rr(x,n)
Arguments
x |
:a vector of company prices |
n |
: number of lags |
Examples
#rr(aapl,1)
[Package FinAna version 0.1.2 Index]