rollapply_dataframe: rollapply to a data frame

Description Usage Arguments Value

View source: R/rollapply.data.frame.R

Description

rollapply to a data frame

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
rollapply_dataframe(
  x,
  margin = 1,
  FUN = NULL,
  ...,
  thread = 3,
  windowSize = NULL,
  stepSize = NULL,
  returnAsTbl = TRUE
)

Arguments

x

the data frame

margin

whic dimension you want to apply

FUN

the function

...

other parameters for FUN

thread

the multithreds number

windowSize

the size of the rolling window

stepSize

the moving window size

returnAsTbl

logcial, whether return the results as Tibble object

Value

a list


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.