reveal.data: Create a data.frame for use in Prediction of a LTD/LRC...

reveal.dataR Documentation

Create a data.frame for use in Prediction of a LTD/LRC effect-size Distribution

Description

reveal.data() forms a data.frame by sorting and appending the LTD or LRC exposure 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.

Usage

reveal.data(x, clus.var="Clus", effe.var="eSiz")

Arguments

x

An output object resulting from a call to ltdagg() or lrcagg().

clus.var

Quoted NAME for the Cluster-Number variable.

effe.var

Quoted NAME for the LTD/LRC effect-size variable.

Value

The desired data.frame:

outdf

A data.frame containing clus.var, effe.var plus (X, trex & Y) variables.

Author(s)

Bob Obenchain <wizbob@att.net>

References

Obenchain RL. (2019) LCstrategy_in_R.pdf http://localcontrolstatistics.org

See Also

ltdagg, lrcagg, and LCsetup.


LocalControlStrategy documentation built on Nov. 10, 2022, 5:49 p.m.