best_worst_three: Find the three best-performing and worst-performing...

View source: R/best_worst_three.R

best_worst_threeR 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


knightsay/backtestGraphics documentation built on Jan. 27, 2025, 10:35 a.m.