powered by
Return.cumulative(R, geometric = TRUE)
$$(1+r_{1})(1+r_{2})(1+r_{3})\ldots(1+r_{n})-1=prod(1+R)-1$$
Return.annualized
data(managers) Return.cumulative(managers[,1,drop=FALSE]) Return.cumulative(managers[,1:8]) Return.cumulative(managers[,1:8],geometric=FALSE)
Run the code above in your browser using DataLab