R/doc-datasets.R
longitudinal_clusters.Rd
Longitudinal Clustering Benvo for use in rstapDP vignettes.
longitudinal_clusters
A Benvo
consisting of a subject and subject-distance dataframes
The outcome in the subject dataframe is simulated using a cluster specific effect as follows: E[Yij|bi1,bi2]=33−2.2sexi+.1∗(yearij)+fk(FFR exposure)+bi1+bi2(yearij) Where k=1,2,3 with varying probabilities.
the generating code on Github.