Book Image

Data Analysis with R, Second Edition - Second Edition

Book Image

Data Analysis with R, Second Edition - Second Edition

Overview of this book

Frequently the tool of choice for academics, R has spread deep into the private sector and can be found in the production pipelines at some of the most advanced and successful enterprises. The power and domain-specificity of R allows the user to express complex analytics easily, quickly, and succinctly. Starting with the basics of R and statistical reasoning, this book dives into advanced predictive analytics, showing how to apply those techniques to real-world data though with real-world examples. Packed with engaging problems and exercises, this book begins with a review of R and its syntax with packages like Rcpp, ggplot2, and dplyr. From there, get to grips with the fundamentals of applied statistics and build on this knowledge to perform sophisticated and powerful analytics. Solve the difficulties relating to performing data analysis in practice and find solutions to working with messy data, large data, communicating results, and facilitating reproducibility. This book is engineered to be an invaluable resource through many stages of anyone’s career as a data analyst.
Table of Contents (24 chapters)
Title Page
Copyright and Credits
Packt Upsell


About the author

Tony Fischetti is a data scientist at the New York Public Library, where he uses R everyday. He graduated in cognitive and computer science from Rensselaer Polytechnic Institute. His thesis was strongly focused on using statistics to study visual short-term memory.

He enjoys writing and contributing to open source software, blogging at On The Lambda (, writing about himself in the third person, and sharing knowledge using simple, approachable language and engaging examples.

I'd like to thank the NYPL, the R community, my support network of millions, Toblerone, Ignatius, Lex, and Pierre, and Bethany Wickham. I'd like to give a huge thanks to Andrea Fischetti for her love and support, and for keeping me warm and human. Finally, I thank my father, to whom I owe my love of learning and my interest in science and statistics, and my mother for her love and unwavering support.

About the reviewers

Manoj Kumar is a seasoned consultant with more than 15 years of versatile experience and exposure to implementing process improvement and operation optimization in typical manufacturing environments and production industries using advanced predictive and prescriptive analytics such as machine learning, deep learning, symbolic dynamics, neural dynamics, circuit mechanisms, and Markov decision process.

His domain experience is in:

  • Transportation and Supply Chain Management
  • Process and manufacturing
  • Mining and energy
  • Retail, CPG, Healthcare, Marketing, and F&A


Davor Lozić is a senior software engineer interested in various subjects, especially computer security, algorithms, and data structures. He manages teams of 15+ engineers and is a part-time assistant professor who lectures about database systems, Java, and interoperability. You can visit his website at and contact him from there. He likes cats! If you want to talk about any aspect of technology or if you have funny pictures of cats, feel free to contact him.

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.