best_worst_three {backtestGraphics} | R Documentation |
Find the three best-performing and worst-performing commodities
Description
This function takes in a data set and returns the best three and worst three commodity names and their respective pnls. All these data will be presented as a formatted table.
Usage
best_worst_three(x)
Arguments
x |
A data frame that contains data for individual commodities. |
Value
output A list of the best three and worst three performers with their commodity names, ids and respective pnls
[Package backtestGraphics version 0.1.8 Index]