static_roll function

Normal rolling regression

Normal rolling regression

This is an internal function.

static_roll(df, win)

Arguments

  • df: data.frame object.
  • win: numeric. width in number of rows

Returns

a data.table object