Skip to contents

Temporal-shift negative control

Usage

process_negative_control_shift(data, column, lag = 1L, by = NULL)

Arguments

data

Data frame.

column

Column to shift.

lag

Number of rows to shift within each group.

by

Optional grouping columns.

Value

An R object containing temporal-shift negative control. The concrete class and structure follow the selected method, engine, or input object and are preserved as documented by that workflow.