Hands-On Programming with R Front Cover

Hands-On Programming with R

  • Length: 248 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2014-08-02
  • ISBN-10: 1449359019
  • ISBN-13: 9781449359010
  • Sales Rank: #184625 (See Top 100 Books)
Description

Hands-On Programming with R: Write Your Own Functions and Simulations

Learn how to program by diving into the R language, and then use your newfound skills to solve practical data science problems. With this book, you’ll learn how to load data, assemble and disassemble data objects, navigate R’s environment system, write your own functions, and use all of R’s programming tools.

RStudio Master Instructor Garrett Grolemund not only teaches you how to program, but also shows you how to get more from R than just visualizing and modeling data. You’ll gain valuable programming skills and support your work as a data scientist at the same time.

  • Work hands-on with three practical data analysis projects based on casino games
  • Store, retrieve, and change data values in your computer’s memory
  • Write programs and simulations that outperform those written by typical R users
  • Use R programming tools such as if else statements, for loops, and S3 classes
  • Learn how to write lightning-fast vectorized R code
  • Take advantage of R’s package system and debugging tools
  • Practice and apply R programming concepts as you learn them

Table of Contents

Part I. Project 1: Weighted Dice
Chapter 1. The Very Basics
Chapter 2. Packages and Help Pages

Part II. Project 2: Playing Cards
Chapter 3. R Objects
Chapter 4. R Notation
Chapter 5. Modifying Values
Chapter 6. Environments

Part III. Project 3: Slot Machine
Chapter 7. Programs
Chapter 8. S3
Chapter 9. Loops
Chapter 10. Speed

Appendix A. Installing R and RStudio
Appendix B. R Packages
Appendix C. Updating R and Its Packages
Appendix D. Loading and Saving Data in R
Appendix E. Debugging R Code

To access the link, solve the captcha.