7.1 Performance Evaluation
The package is a collection of econometric functions for performance and risk analysis. For our purpose, we use it to evaluate the performance of trading rule based on its return.
We first install and load PerformanceAnalytics package.
install.packages("PerformanceAnalytics")
library(PerformanceAnalytics)