tracking.error {rportfolio} | R Documentation |
Calculates the Tracking Error
tracking.error(R1, R2)
R1 |
Returns of the portfolio |
R2 |
Returns of the benchmark |
Tracking error is the divergence between the price behavior of a position or a portfolio and the price behavior of a benchmark.
Calculates the Tracking error of the security
tracking.error(funds$ret1, funds$rfr)