Changelog
RcppRoll 0.3.1
CRAN release: 2024-07-07
- Fixed an issue where
roll_median()produced incorrect results in the presence of NAs. (#42)
RcppRoll 0.3.0
CRAN release: 2018-06-05
Properly document the
alignargument – the function accepts “center” rather than “middle”. (#28)Fixed an issue where empty fills were not handled correctly.
The interface has now been standardized such that each implemented window function has version center-aligned by default (e.g.
roll_mean()), a left-aligned version (roll_meanl()), and right-aligned version (roll_meanr()).Implement rolling window functions for
mean(),median(),min(),max(),prod(),sum(),sd()andvar().