Course materials and code associated with the APA Advanced Training Institute: Analysis of Intensive Longitudinal Data: Experience Sampling and Ecological Momentary Assessment. Additional background about the workshop can be found at https://www.apa.org/science/resources/ati/analysis-longitudinal-data. For some of the examples, code for other programs besides R is available at http://intensivelongitudinal.com.