Skip to contents

Internal helper for window decay, used in TMA v0.1.0. Not exported. Kept for backward compatibility with legacy decay function creation.

Usage

simple_window(x, args = NULL)

Arguments

x

Numeric vector of time differences.

args

List of arguments (expects `window_size`).

Value

Numeric vector (0/1) indicating whether each value is within the window.