Description Usage Arguments Value
xts's period.apply is optimized for a few function. The current function takes these as an arguement, and then calls the correct function.
1 | period.apply.string(x, INDEX, FUN)
|
x |
a univariate data object |
INDEX |
a numeric vector of endpoints to calculate maximum on |
FUN |
A string. Currently supported are "sum", "prod", "min", "max", last", and "first". |
An xts or zoo object of maximums, indexed by the period endpoints.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.