Description Usage Arguments Value Examples
View source: R/calculate_zoo.R
Function factory for calculation zoo class.
| 1 | cal_factory_zoo(fun_num, fun_idx, fun_itv)
 | 
| fun_num | A function to transform a numeric vector or matrix of zoo class. | 
| fun_idx | A function to transform a numeric vector representing time. | 
| fun_itv | A function to transform a string representing interval. | 
A function to transform a tsibble into a tsibble or a tibble.
| 1 2 3 4 5 6 7 8 | ## Not run: 
tq_rollmean <- cal_factory_zoo(
function(num) zoo::rollmean(num, ...),
function(idx) idx,
function(itv) itv
)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.