About
This book was inspired by my students—particularly graduate students at Brooklyn College who wanted to ask meaningful research questions but felt held back by tools that were opaque, brittle, or difficult to reproduce. Over time, it became clear that learning R was not just about writing code; it was about learning how to think clearly, document decisions, and produce work that others (and your future self) can understand and reuse.
Reproducible Research in R is an open educational resource (OER) designed to help students, researchers, and practitioners build confidence using R as a complete research tool—from data import and visualization to statistical analysis and polished reporting. The goal of this book is not just to teach what buttons to press or which functions to call, but to teach a workflow that is transparent, explainable, and most importantly, reproducible.
This book was created in conjunction with the Open Educational Resources initiative at Brooklyn College and is freely available for learning, teaching, and adaptation.
0.1 What You’ll Learn
By working through this book, you will learn how to:
- Use R and RStudio as an integrated research environment
- Import, clean, and explore data using modern R tools
- Visualize data clearly and intentionally
- Conduct common statistical analyses used in applied research
- Interpret results in context—not just report numbers
- Create fully reproducible reports using R Markdown and Bookdown
Throughout the book, reproducibility is treated not as an “extra” or an advanced topic, but as a default practice.
0.2 What You Should Know First
You do not need prior experience with:
- R
- Programming
- Command-line tools
Basic familiarity with research methods and statistics is helpful, but the focus of this book is on implementation and workflow, not statistical theory.
0.3 What This Book Does Not Cover
This book is not intended to be:
- A comprehensive statistics theory textbook
- A software engineering or computer science text
- An advanced machine learning or big-data resource
Instead, it focuses on the tools and practices most commonly needed to conduct and present reproducible research in applied settings.