brolgar: an R package to BRowse Over Longitudinal Data Graphically and Analytically in R

Nicholas Tierney, Dianne Cook, Tania Prvan

Research output: Contribution to journalArticleResearchpeer-review

Abstract

Longitudinal (panel) data provide the opportunity to examine temporal patterns of individuals, because measurements are collected on the same person at different, and often irregular, time points. The data is typically visualised using a “spaghetti plot”, where a line plot is drawn for each individual. When overlaid in one plot, it can have the appearance of a bowl of spaghetti. With even a small number of subjects, these plots are too overloaded to be read easily. The interesting aspects of individual differences are lost in the noise. Longitudinal data is often modelled with a hierarchical linear model to capture the overall trends, and variation among individuals, while accounting for various levels of dependence. However, these models can be difficult to fit, and can miss unusual individual patterns. Better visual tools can help to diagnose longitudinal models, and better capture the individual experiences.

Original languageEnglish
Pages (from-to)6-25
Number of pages20
JournalThe R Journal
Volume14
Issue number2
DOIs
Publication statusPublished - 2022

Cite this