Incorporating the latest R packages as well as new case studies and applications, Using R and RStudio for Data Management, Statistical Analysis, and Graphics, Second Edition covers the aspects of R most often used by statistical analysts. New users of R will find the book's simple approach easy to understand while more sophisticated users will appreciate the invaluable source of task-oriented information.
New to the Second Edition

The use of RStudio, which increases the productivity of R users and helps users avoid error-prone cut-and-paste workflows
New chapter of case studies illustrating examples of useful data management tasks, reading complex files, making and annotating maps, "scraping" data from the web, mining text files, and generating dynamic graphics
New chapter on special topics that describes key features, such as processing by group, and explores important areas of statistics, including Bayesian methods, propensity scores, and bootstrapping
New chapter on simulation that includes examples of data generated from complex models and distributions
A detailed discussion of the philosophy and use of the knitr and markdown packages for R
New packages that extend the functionality of R and facilitate sophisticated analyses
Reorganized and enhanced chapters on data input and output, data management, statistical and mathematical functions, programming, high-level graphics plots, and the customization of plots

Easily Find Your Desired Task
Conveniently organized by short, clear descriptive entries, this edition continues to show users how to easily perform an analytical task in R. Users can quickly find and implement the material they need through the extensive indexing, cross-referencing, and worked examples in the text. Datasets and code are available for download on a supplementary website.

chapter 1|10 pages

Data input and output

chapter 2|22 pages

Data management

chapter 3|12 pages

Statistical and mathematical functions

chapter 5|16 pages

Common statistical procedures

chapter 6|24 pages

Linear regression and ANOVA

chapter 7|32 pages

Regression generalizations and modeling

chapter 8|22 pages

A graphical compendium

chapter 9|10 pages

Graphical options and configuration

chapter 10|12 pages


chapter 11|20 pages

Special topics

chapter 12|24 pages

Case studies