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