apply_treatment_effect: apply specified treatment effect (percent change) to outcome

View source: R/apply-treatment-effect.R

apply_treatment_effectR Documentation

apply specified treatment effect (percent change) to outcome

Usage

apply_treatment_effect(
  x,
  model_formula,
  model_call,
  te,
  effect_direction,
  concurrent
)

Arguments

x

data

model_formula

formula for sim run used to identify outcome

te

true effect as proportion of change (e.g., 0.05 = 5

\item

effect_direction"null", "pos", or "neg"

\item

concurrentbool for whether this is concurrent run or not

TODO


aescherling/optic-core documentation built on June 15, 2022, 4:56 a.m.