The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Kick off your book project in 2 hours, get started with GhostAI in 2 hours, or do both! Free live workshops, on Zoom. You’ll leave with a real book project and a clear plan to keep going. Saturday, June 27, 2026.

Longitudinal Data Analysis in R + combines a comprehensive, hands-on guide with a concise cheat sheet to give you both depth and clarity. Learn how to prepare, explore, and model longitudinal data using real-world examples in R—while always having a clear map of key concepts, commands, and models at hand.
Bought separately
$100
With Coupon
$59.50
About the Bundle
Longitudinal data is essential for understanding the world around us. Following individuals, groups, or institutions over time allows researchers to study change, uncover dynamics, and obtain stronger causal insights. At the same time, longitudinal data is inherently more complex than cross-sectional data, making it harder to prepare, explore, and analyse correctly.
Longitudinal Data Analysis in R + combines a comprehensive, hands-on book with a concise, high-level cheat sheet to help you both learn longitudinal methods in depth and navigate them confidently in practice.
The core of the bundle is Longitudinal Data Analysis in R, a complete guide to working with longitudinal data using real-world examples, reproducible R code, and clear visualisations. The book provides a solid foundation by introducing the essentials of R, regression modelling, path analysis, and the core concepts of longitudinal data. It then walks you step by step through the practical workflow of longitudinal research: importing data, reshaping and recoding it, exploring patterns using tables, summary statistics, and visualisations, and applying state-of-the-art statistical models.
You will learn to implement and interpret key approaches, such as the multilevel model for change and the latent growth model, while engaging with the practical challenges that arise in real research—missing data, measurement error, age–period–cohort effects, presenting results clearly, and maintaining a reproducible workflow.
Complementing the book is The Ultimate Cheat Sheet for Longitudinal Data Analysis in R, designed to reduce the cognitive load that often comes with learning longitudinal methods. Rather than repeating full explanations, the cheat sheet provides a structured map of the field, showing how key concepts, data structures, models, and R commands fit together. It helps you orient yourself and provides a quick resource for the main commands you will need when working with longitudinal data.
Why this bundle
Together, the book and the cheat sheet give you both depth and structure: a detailed, hands-on guide you can study carefully, and a concise reference you can return to whenever you need clarity. The result is a coherent, systematic way to master longitudinal data analysis in R without having to piece knowledge together from scattered sources.
About the Books
Longitudinal data analysis is essential for understanding change, dynamics, and causal processes in the social sciences. By following individuals, households, organisations, or countries over time, longitudinal data allows researchers to move beyond static descriptions and answer questions about development, change, and causality.
Researchers often struggle with longitudinal data because the practical workflow is hard and seldom discussed. Issues such as preparing data, exploring change over time, choosing appropriate models, handling missing data, and translating statistical output into substantive conclusions are often not part of courses or books on longitudinal data analysis. Many existing resources focus on isolated methods, assume strong statistical backgrounds, or skip over the messy steps that dominate real research.
Longitudinal Data Analysis Using R helps solve these problems.
This book provides a complete, hands-on guide to longitudinal data analysis, covering the full research workflow from raw data to published results. Using real-world datasets and fully reproducible R code, it shows not only which models to use, but how and why they are applied in practice.
What this book helps you doThe book starts by building a solid foundation, introducing the essentials of R, regression modelling, path analysis, and the core ideas behind longitudinal data. It then moves step by step through the practical stages of longitudinal analysis: preparing data, describing patterns of change, and estimating some of the most popular models for longitudinal analysis. Advanced chapters focus on substantive challenges that, if ignored, can undermine research, including missing data, measurement error, and the presentation of results.
Throughout, the emphasis is on applied longitudinal data analysis: real-world data, clear explanations, use of visualisation to understand complex concepts and code that can be adapted directly to your own research.
Who is this book for?This book is designed for:
You do not need to be a statistical specialist or an expert in R to benefit from the book. The book covers foundational concepts, offers a thorough introduction to R and ensures you have the statistical knowledge needed to understand complex longitudinal models.
All the R code used in the book is available on the companion website together with the equivalent code in Mplus and Stata.
Paperback version is available here.
Longitudinal data are becoming increasingly common across the social sciences, offering powerful ways to study change over time in individuals, groups, and institutions.
At the same time, working with longitudinal data is genuinely complex: it introduces new concepts, new data structures, and new statistical models that go far beyond cross-sectional analysis. Researchers are expected to understand ideas such as dependence over time, within- and between-person change, unbalanced panels, and a growing set of specialised methods, often with little guidance on how these pieces fit together. For many people, learning longitudinal analysis feels overwhelming.
The Ultimate Cheat Sheet for Longitudinal Data Analysis in R is designed to help you make sense of this complexity. It brings together the key concepts, commands, and models you need to know in order to confidently work with longitudinal data. Rather than teaching everything in depth, the cheat sheet gives you a clear map showing how ideas connect, how methods differ, and where each approach fits—so you can build knowledge systematically instead of piecing it together from scattered sources.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.