Package: slider 0.3.2
slider: Sliding Window Functions
Provides type-stable rolling window functions over any R data type. Cumulative and expanding windows are also supported. For more advanced usage, an index can be used as a secondary vector that defines how sliding windows are to be created.
Authors:
slider_0.3.2.tar.gz
slider_0.3.2.tar.gz(r-4.5-noble)slider_0.3.2.tar.gz(r-4.4-noble)
slider_0.3.2.tgz(r-4.4-emscripten)slider_0.3.2.tgz(r-4.3-emscripten)
slider.pdf |slider.html✨
slider/json (API)
NEWS
# Install 'slider' in R: |
install.packages('slider', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/r-lib/slider/issues
Last updated 4 days agofrom:ced600ccb1. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-linux-x86_64 | OK | Oct 26 2024 |
Exports:blockhophop_indexhop_index_vechop_index2hop_index2_vechop_vechop2hop2_vecphopphop_indexphop_index_vecphop_vecpslidepslide_chrpslide_dblpslide_dfcpslide_dfrpslide_indexpslide_index_chrpslide_index_dblpslide_index_dfcpslide_index_dfrpslide_index_intpslide_index_lglpslide_index_vecpslide_intpslide_lglpslide_periodpslide_period_chrpslide_period_dblpslide_period_dfcpslide_period_dfrpslide_period_intpslide_period_lglpslide_period_vecpslide_vecslideslide_allslide_anyslide_chrslide_dblslide_dfcslide_dfrslide_indexslide_index_allslide_index_anyslide_index_chrslide_index_dblslide_index_dfcslide_index_dfrslide_index_intslide_index_lglslide_index_maxslide_index_meanslide_index_minslide_index_prodslide_index_sumslide_index_vecslide_index2slide_index2_chrslide_index2_dblslide_index2_dfcslide_index2_dfrslide_index2_intslide_index2_lglslide_index2_vecslide_intslide_lglslide_maxslide_meanslide_minslide_periodslide_period_chrslide_period_dblslide_period_dfcslide_period_dfrslide_period_intslide_period_lglslide_period_vecslide_period2slide_period2_chrslide_period2_dblslide_period2_dfcslide_period2_dfrslide_period2_intslide_period2_lglslide_period2_vecslide_prodslide_sumslide_vecslide2slide2_chrslide2_dblslide2_dfcslide2_dfrslide2_intslide2_lglslide2_vecslider_minusslider_plus
Converting from tsibble
Rendered fromtsibble.Rmd
usingknitr::rmarkdown
on Oct 26 2024.Last update: 2021-03-18
Started: 2021-03-18
Getting started with slider
Rendered fromslider.Rmd
usingknitr::rmarkdown
on Oct 26 2024.Last update: 2021-03-23
Started: 2020-02-06
Row-wise iteration with slider
Rendered fromrowwise.Rmd
usingknitr::rmarkdown
on Oct 26 2024.Last update: 2021-03-18
Started: 2020-02-06
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Break a vector into blocks | block |
Hop | hop hop_vec |
Hop relative to an index | hop_index hop_index_vec |
Hop along multiple inputs simultaneously relative to an index | hop_index2 hop_index2_vec phop_index phop_index_vec |
Hop along multiple inputs simultaneously | hop2 hop2_vec phop phop_vec |
Slide | slide slide_chr slide_dbl slide_dfc slide_dfr slide_int slide_lgl slide_vec |
Slide relative to an index | slide_index slide_index_chr slide_index_dbl slide_index_dfc slide_index_dfr slide_index_int slide_index_lgl slide_index_vec |
Slide along multiples inputs simultaneously relative to an index | pslide_index pslide_index_chr pslide_index_dbl pslide_index_dfc pslide_index_dfr pslide_index_int pslide_index_lgl pslide_index_vec slide_index2 slide_index2_chr slide_index2_dbl slide_index2_dfc slide_index2_dfr slide_index2_int slide_index2_lgl slide_index2_vec |
Slide relative to an index chunked by period | slide_period slide_period_chr slide_period_dbl slide_period_dfc slide_period_dfr slide_period_int slide_period_lgl slide_period_vec |
Slide along multiple inputs simultaneously relative to an index chunked by period | pslide_period pslide_period_chr pslide_period_dbl pslide_period_dfc pslide_period_dfr pslide_period_int pslide_period_lgl pslide_period_vec slide_period2 slide_period2_chr slide_period2_dbl slide_period2_dfc slide_period2_dfr slide_period2_int slide_period2_lgl slide_period2_vec |
Slide over multiple inputs simultaneously | pslide pslide_chr pslide_dbl pslide_dfc pslide_dfr pslide_int pslide_lgl pslide_vec slide2 slide2_chr slide2_dbl slide2_dfc slide2_dfr slide2_int slide2_lgl slide2_vec |
Specialized sliding functions relative to an index | slide_index_all slide_index_any slide_index_max slide_index_mean slide_index_min slide_index_prod slide_index_sum summary-index |
Specialized sliding functions | slide_all slide_any slide_max slide_mean slide_min slide_prod slide_sum summary-slide |