Learn R Programming

tma (version 0.3.1)

simple_window: Internal: Simple window decay (legacy)

Description

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)

Value

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

Arguments

x

Numeric vector of time differences.

args

List of arguments (expects `window_size`).