lwqs_data {lwqs}R Documentation

Simulated dataset for accompanying vignette

Description

Simulated dataset for accompanying vignette

Usage

data(lwqs_data)

Value

A data frame containing simulated data to explore the lwqs algorithm. Variables included are as follows:

ID

Variable identifying each simulated subject. Data reflect 30 successive measures per subject.

Sex

A simulated binary covariate, either 1 or 0.

time

Variable identifying the successive timing of each repeated measure

out

Simulated outcome on standardized scale

pred1

First simulated time-varying predictor. This has a large positive association with "out" from times 11-20.

pred2

Second simulated time-varying predictor. This has a moderate positive association with "out" from times 11-20.

pred3

Third simulated time-varying predictor. This has a moderate negative association with "out" from times 1-10.

pred4

Fourth simulated time-varying predictor. This has a strong negative association with "out" from times 1-10.

pred5

Fifth simulated time-varying predictor. This has no significant association with "out".


[Package lwqs version 0.5.0 Index]