Learn R Programming

DeclareDesign (version 1.1.0)

declare_potential_outcomes: Declare potential outcomes

Description

Deprecated. Please use the potential_outcomes function within a declare_model declaration.

Usage

declare_potential_outcomes(
  ...,
  handler = potential_outcomes_handler,
  label = NULL
)

Value

a function that returns a data.frame

Arguments

...

arguments to be captured, and later passed to the handler

handler

a tidy-in, tidy-out function

label

a string describing the step