VecRollingStats
Rolling statistical methods made available on numeric Vec objects via enrichment. These methods scan over the Vec and compute values over a specified historical window.
Value members
Concrete methods
Rolling count; compute count of number of elements in Vec over a sliding window, ignoring any NA values.
Rolling count; compute count of number of elements in Vec over a sliding window, ignoring any NA values.
- Value parameters:
- winSz
Size of the sliding window
Rolling mean; compute mean of elements in Vec over a sliding window, ignoring any NA values.
Rolling mean; compute mean of elements in Vec over a sliding window, ignoring any NA values.
- Value parameters:
- winSz
Size of the sliding window
Rolling median; compute median of elements in Vec over a sliding window, ignoring any NA values.
Rolling median; compute median of elements in Vec over a sliding window, ignoring any NA values.
- Value parameters:
- winSz
Size of the sliding window