DTVEM Package Illustration

Loading in the Dataset This code will illustrate the R package (DTVEM) with simulated data available in the DTVEM package. First load the DTVEM package. library(DTVEM) Next load the simulated data included in the DTVEM package, called exampledat1. data(exampledat1) Get a look at the file structure. head(exampledat1)

Time X ID

1 1 -1.076422 1

2 2 -1.904713 1

3 3 1.307456 1

4 4 NA 1

5 5 -4.

The Differential Time Varying Effect Model

This project describes a novel technique entitled the Differential Time-Varying Effect Model, which is a tool to explore lags in intensive longitudinal data.