Below are some example analyses written in R.
More R code is available on my Github page.
Item Response Theory as a 1-parameter Rasch model using
lme4
. (included but not run is a 2PM using
brms
)
A demo of how to estimate a finite mixture model using the
brms
package (via simulation and parameter recovery).
Between- and within- models. It includes when and why you should compute within- and between-subject centered variables in a multilevel analysis.
This demo walks through the examples in Intensive Longitudinal Methods: An Introduction to Diary and Experience Sampling by Bolger & Laurenceau, 2013.