View source: R/genericStrategy.R
calcStat | R Documentation |
Statistic and all dependent statistics will be calculated
calcStat(this, s, start, end, recalc, args, ...) ## S3 method for class 'Strategy' calcStat(this, s, start, end, recalc = FALSE, args = list(), ...)
this |
Strategy |
s |
Stat or function function(this, start, end)... |
start |
numeric, start of the period |
end |
numeric, end of the period |
recalc |
logical, whether stat will be recalculated with all dependent or evaluated on the basis of precalculated stats |
args |
list, list of arguments for function / Stat s |
... |
params to Stat if s is a function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.