Description Usage Arguments Value

View source: R/stat_calculation.R

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.

1 | ```
stat_calculation(x.list)
``` |

`x.list` |
is the input data set. Such data set has been sliced by slice_data function, and is labeled as "intermediate data set". |

f A list that contains all calculated numbers.

knightsay/backtestGraphics documentation built on April 3, 2018, 11:07 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.