powered by
Calculates the ratio of the cumulative performance for two assets through time.
Return.relative(Ra, Rb, ...)
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns
return object for the benchmark asset
ignored
xts or other time series of relative return
chart.RelativePerformance
# NOT RUN { data(managers) head(Return.relative(managers[,1:3], managers[,8,drop=FALSE]),n=20) # }
Run the code above in your browser using DataLab