
Return.annualized(Ra, scale = 12, geometric = TRUE)
where scale is the number of periods in a year, and n is the total number of periods for which you have observations.
For simple returns (geometric=FALSE), the formula is:
Return.cumulative
,data(edhec)
Return.annualized(edhec[,13])
Run the code above in your browser using DataLab