rev_windows_rearranger_: Wrapper for running centering rearrange methods

View source: R/rearrangers.R

rev_windows_rearranger_R Documentation

Wrapper for running centering rearrange methods

Description

Wrapper for running centering rearrange methods

Usage

rev_windows_rearranger_(
  data,
  window_size,
  factor_name = ".window",
  overwrite = FALSE
)

Arguments

data

data.frame or vector.

window_size

Size of the windows. (Logical)

factor_name

Name of the factor with window identifiers. If `NULL`, no column is added.

overwrite

Whether to allow overwriting of existing columns. (Logical)

Value

The sorted data.frame (tibble) / vector. Optionally with the windows factor added.

When `data` is a vector and `keep_windows` is `FALSE`, the output will be a vector. Otherwise, a data.frame.


rearrr documentation built on April 4, 2025, 1:07 a.m.