format_synth: Get the outcomes data into the correct form for Synth::synth

Description Usage Arguments Value

Description

Get the outcomes data into the correct form for Synth::synth

Usage

1
format_synth(outcomes, metadata, trt_unit = 1)

Arguments

outcomes

Tidy dataframe with the outcomes and meta data

metadata

Dataframe of metadata

trt_unit

Unit that is treated (target for regression), default: 0

Value

List of data to use as an argument for Synth::synth, whether the unit was actually treated


ebenmichael/ents documentation built on May 31, 2019, 8:45 p.m.