stat_calculation {backtestGraphics} | R Documentation |
Calculate Statistics
Description
This helper function calculates the summary of the input data set. The function takes in the sliced data set and the calculated trading frequency, and calculate statistics about the market value, returns and volatility for later display.
Usage
stat_calculation(x.list)
Arguments
x.list |
is the input data set. Such data set has been sliced by slice_data function, and is labeled as "intermediate data set". |
Value
f A list that contains all calculated numbers.
[Package backtestGraphics version 0.1.8 Index]