R: Programming for Data and Statistics

Shriira Press

Preface

Turn raw data into insight — learn R, the language built by statisticians for data.

Welcome to R: Programming for Data and Statistics.

R was built by statisticians for working with data, and its toolkit for analysis, statistics, and visualisation is unmatched. This free, example-driven book teaches it from the ground up: running R and RStudio, the vector and R's vectorised mindset, data types and the all-important data frame, importing and wrangling data with the tidyverse and the pipe, functions and iteration, beautiful graphics with ggplot2, real statistics and models with R's formula interface, and reproducible reporting with R Markdown. Ten focused chapters with runnable code and clear diagrams. Learn the language that turns raw data into understanding.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — What R Is and Why Data People Love It
  2. Chapter 2 — Getting Started
  3. Chapter 3 — Vectors: R's Fundamental Type
  4. Chapter 4 — Data Types and Structures
  5. Chapter 5 — Data Frames: The Heart of Analysis
  6. Chapter 6 — Importing and Wrangling Data with the Tidyverse
  7. Chapter 7 — Control Flow, Functions, and Iteration
  8. Chapter 8 — Visualisation with ggplot2
  9. Chapter 9 — Statistics in R
  10. Chapter 10 — Reproducible Reports and Good Practice
0%
1/1