\HeaderA{Return.relative}{calculate the relative return of one asset to another}{Return.relative}
\keyword{ts}{Return.relative}
\begin{Description}\relax
Calculates the ratio of the cumulative performance for two assets through time.
\end{Description}
\begin{Usage}
\begin{verbatim}
Return.relative(Ra, Rb, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{Ra}] an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns 
\item[\code{Rb}] return object for the benchmark asset 
\item[\code{...}] ignored 
\end{ldescription}
\end{Arguments}
\begin{Value}
xts or other time series of relative return
\end{Value}
\begin{Author}\relax
Peter Carl
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{chart.RelativePerformance}{chart.RelativePerformance}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(managers)
head(Return.relative(managers[,1:3], managers[,8,drop=FALSE]),n=20)
\end{ExampleCode}
\end{Examples}

