Data Science

Spaghetti Plots


Spaghetti plots are a useful data visualisation technique particularly in longitudinal analysis. This post provides some sample spaghetti plots together with the annotated R code used to create them. For an excellent treatment on longitudinal analysis and the role of spaghetti plots read:

Bolger, N., & Laurenceau, J.-P. (2013). Intensive Longitudinal Methods: An Introduction to Diary and Experience Sampling Research (Methodology in the Social Sciences) (p. 256). The Guilford Press. Retrieved from


Details at


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s