data_mimicHeartSteps | R Documentation |
A synthetic data set that mimics the HeartSteps V1 data structure to illustrate the use of [wcls()] function for continuous proximal outcomes
data_mimicHeartSteps
a data frame with 7770 observations and 9 variables
individual id number
decision point index
day in the study
proximal outcome: the step count in the 30 minutes following the current decision point (log-transformed)
proximal outcome at the previous decision point (lag-1 outcome): the step count in the 30 minutes following the previous decision point (log-transformed)
the step count in the 30 minutes prior to the current decision point (log-transformed); used as a control variable
whether the individual is at home or work (=1) or at other locations (=0) at the current decision point
whether the intervention is randomized to be delivered (=1) or not (=0) at the current decision point
the randomization probability P(A=1) for the current decision point
whether the individual is available (=1) or not (=0) at the current decision point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.