declare_potential_outcomes: Declare potential outcomes

declare_potential_outcomesR Documentation

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
)

Arguments

...

arguments to be captured, and later passed to the handler

handler

a tidy-in, tidy-out function

label

a string describing the step

Value

a function that returns a data.frame


DeclareDesign documentation built on Nov. 5, 2025, 6:02 p.m.