reveal.data() forms a data.frame by sorting and appending the LTD or LRC treatment effect-size measures from ltdagg() or lrcagg() -- as well as a Cluster membership-number variable -- to a copy of the data.frame specified in LCsetup(). In the fourth and final REVEAL Phase of Local Control Strategy, a stretch-goal is to predict variation in LTD/LRC effect-size distributions using the known (baseline) X-covariate characteristics of experimental units. For example, the data.frame output by reveal.data() is suitable for input to party::ctree() as well as to a number of other "less Visual" prediction methods available in R.
reveal.data(x, clus.var="Clus", effe.var="eSiz")
An output object resulting from a call to ltdagg() or lrcagg().
Quoted NAME for the Cluster-Number variable.
Quoted NAME for the LTD/LRC effect-size variable.
The desired data.frame:
A data.frame containing clus.var, effe.var and (X, trex & Y) variables.
Obenchain RL. (2018) LCstrategy_in_R.pdf http://localcontrolstatistics.org