ABSTRACT

All the Tools for Gathering and Analyzing Data and Presenting Results

Reproducible Research with R and RStudio, Second Edition brings together the skills and tools needed for doing and presenting computational research. Using straightforward examples, the book takes you through an entire reproducible research workflow. This practical workflow enables you to gather and analyze data as well as dynamically present results in print and on the web.

New to the Second Edition

  • The rmarkdown package that allows you to create reproducible research documents in PDF, HTML, and Microsoft Word formats using the simple and intuitive Markdown syntax
  • Improvements to RStudio’s interface and capabilities, such as its new tools for handling R Markdown documents
  • Expanded knitr R code chunk capabilities
  • The kable function in the knitr package and the texreg package for dynamically creating tables to present your data and statistical results
  • An improved discussion of file organization, enabling you to take full advantage of relative file paths so that your documents are more easily reproducible across computers and systems
  • The dplyr, magrittr, and tidyr packages for fast data manipulation
  • Numerous modifications to R syntax in user-created packages
  • Changes to GitHub’s and Dropbox’s interfaces

Create Dynamic and Highly Reproducible Research

This updated book provides all the tools to combine your research with the presentation of your findings. It saves you time searching for information so that you can spend more time actually addressing your research questions. Supplementary files used for the examples and a reproducible research project are available on the author’s website.

part I|79 pages

Getting Started

chapter 1|15 pages

Introducing Reproducible Research

chapter 2|10 pages

Getting Started with Reproducible Research

chapter 4|15 pages

Getting Started with File Management

part II|69 pages

Data Gathering and Storage

chapter 6|19 pages

Gathering Data with R

chapter 7|21 pages

Preparing Data for Analysis

part III|62 pages

Analysis and Results

chapter 8|14 pages

Statistical Modeling and knitr

chapter 9|24 pages

Showing Results with Tables

chapter 10|22 pages

Showing Results with Figures

part IV|64 pages

Presentation Documents

chapter 11|21 pages

Preenting with knitr/LaTeX

chapter 14|6 pages

Conclusion