rollapply.xts: rollapply xts as it should be

Description Usage Arguments Details Value

View source: R/utils.R

Description

Overwrites rollapply.xts and uses rollapply.zoo for xts data

Usage

1
2
## S3 method for class 'xts'
rollapply(data, ...)

Arguments

data

the data to be used (representing a series of observations).

...

arguments to pass to rollapply.zoo

Details

The function transforms

Value

Corces xts to zoo, then applies rollapply.zoo of zoo package and transforms back to xts


optimist/inhouse documentation built on May 24, 2019, 3:56 p.m.