books

Welcome to the book R Programming: Zero to Pro, a comprehensive and accessible guide to learning R from the ground up.

This book is designed for learners and practitioners in public health, statistics, data science, and related fields who want to develop practical skills in R. Whether you’re a beginner or looking to refine your analytical toolkit, this book takes you on a structured journey through essential R programming concepts, data manipulation, visualization, modeling, and reproducible research using the tidyverse.

Each chapter builds logically on the previous one, emphasizing clear explanations, real-world datasets, and hands-on coding examples that reinforce key ideas and methods.

To support your learning, we’ve developed a companion R package, r02pro, which includes all datasets used throughout the book. With this package, you can easily follow along with the code and complete exercises in a reproducible workflow.

This book is open-source and continuously evolving. We welcome contributions and feedback via the GitHub repository.

Let’s code, analyze, and explore the world of data—together.

If you are an instructor and would like to use this book in your course, we are happy to provide the solutions to the exercises. Please email me at yang.feng@nyu.edu.