Skip to contents

Audit a placebo/pre-event window

Usage

placebo_window_audit(data, time, value, window, expected = 0, by = NULL)

Arguments

data

Data frame.

time

Time column.

value

Value column.

window

Two-element placebo window.

expected

Optional expected mean, typically zero.

by

Optional grouping columns.

Value

An R object containing a placebo/pre-event window. The concrete class and structure follow the selected method, engine, or input object and are preserved as documented by that workflow.