Home > Store

R for Everyone: Advanced Analytics and Graphics, Rough Cuts, 2nd Edition

R for Everyone: Advanced Analytics and Graphics, Rough Cuts, 2nd Edition

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Also available in other formats.

Description

  • Copyright 2017
  • Dimensions: 7" x 9-1/8"
  • Pages: 560
  • Edition: 2nd
  • Rough Cuts
  • ISBN-10: 0-13-454696-2
  • ISBN-13: 978-0-13-454696-4

This is the Rough Cut version of the printed book.


Using the open source R language, you can build powerful statistical models to answer many of your most challenging questions. R has traditionally been difficult for non-statisticians to learn, and most R books assume far too much knowledge to be of help. R for Everyone, Second Edition, is the solution.

Drawing on his unsurpassed experience teaching new users, professional data scientist Jared P. Lander has written the perfect tutorial for anyone new to statistical programming and modeling. Organized to make learning easy and intuitive, this guide focuses on the 20 percent of R functionality you’ll need to accomplish 80 percent of modern data tasks. Lander’s self-contained chapters start with the absolute basics, offering extensive hands-on practice and sample code. You’ll download and install R; navigate and use the R environment; master basic program control, data import, and manipulation; and walk through several essential tests. Then, building on this foundation, you’ll construct several complete models, both linear and nonlinear, and use some data mining techniques.

By the time you’re done, you won’t just know how to write R programs, you’ll be ready to tackle the statistical problems you care about most.

Coverage includes

  • Exploring R, RStudio, and R packages
  • Using R for math: variable types, vectors, calling functions, and more
  • Exploiting data structures, including data.frames, matrices, and lists
  • Creating attractive, intuitive statistical graphics
  • Writing user-defined functions
  • Controlling program flow with if, ifelse, and complex checks
  • Improving program efficiency with group manipulations
  • Combining and reshaping multiple datasets
  • Manipulating strings using R’s facilities and regular expressions
  • Creating normal, binomial, and Poisson probability distributions
  • Programming basic statistics: mean, standard deviation, and t-tests
  • Building linear, generalized linear, and nonlinear models
  • Assessing the quality of models and variable selection
  • Preventing overfitting, using the Elastic Net and Bayesian methods
  • Analyzing univariate and multivariate time series data
  • Grouping data via K-means and hierarchical clustering
  • Preparing reports, slideshows, and web pages with knitr
  • Building reusable R packages with devtools and Rcpp
  • Getting involved with the R global community

Sample Content

Table of Contents

Chapter 1: Getting R
Chapter 2: The R Environment
Chapter 3: R Packages
Chapter 4: Basics of R
Chapter 5: Advanced Data Structures
Chapter 6: Reading Data into R
Chapter 7: Statistical Graphics
Chapter 8: Writing R Functions
Chapter 9: Control Statements
Chapter 10: Loops, the Un-R Way to Iterate
Chapter 11: Group Manipulation
Chapter 12: Faster Group Manipulation with dplyr
Chapter 13: Iterating with purrr
Chapter 14: Data Reshaping
Chapter 15: Reshaping Data in the Tidyverse
Chapter 16: Manipulating Strings
Chapter 17: Probability Distributions
Chapter 18: Basic Statistics
Chapter 19: Linear Models
Chapter 20: Generalized Linear Models
Chapter 21: Model Diagnostics
Chapter 22: Regularization and Shrinkage
Chapter 23: Nonlinear Models
Chapter 24: Time Series and Autocorrelation

Chapter 25: Clustering

Chapter 26: Model Fitting with caret

Chapter 27: Reproducibility and Reports with knitr

Chapter 28: Rich Documents with RMarkdown

Chapter 29: Interactive Dashboards with Shiny

Chapter 30: Building R Packages

Appendix A: Real-Life Resources 

Appendix B: Glossary

Updates

Submit Errata

More Information