Usage
washb_ttest(Y,tr,strat,contrast)
Arguments
- Y
- quantitative outcome variable (e.g. LAZ)
- tr
- binary treatment group variable, comparison group first
- strat
- stratification variable (here: block)
- contrast
- vector of length 2 that includes the tr groups to contrast