CSExamples.R contains an example for performing cross-sectional analyses (Fiecas et al, 2017).
LongitExamples.R contains an example for performing longitudinal analyses (Hart et al, 2017).
LongitInclude.cpp contains rcpp code necessary for both cross-sectional and longitudinal analyses.