Book description
It’s much easier to grasp complex data relationships with a graph than by scanning numbers in a spreadsheet. This introductory guide shows you how to use the R language to create a variety of useful graphs for visualizing and analyzing complex data for science, business, media, and many other fields. You’ll learn methods for highlighting important relationships and trends, reducing data to simpler forms, and emphasizing key numbers at a glance.
Anyone who wants to analyze data will find something useful here—even if you don’t have a background in mathematics, statistics, or computer programming. If you want to examine data related to your work, this book is the ideal way to start.
Publisher resources
Table of contents
- Preface
- I. Getting Started with R
- 1. R Basics
- 2. An Overview of R Graphics
- II. Single-Variable Graphs
- 3. Strip Charts
- 4. Dot Charts
- 5. Box Plots
- 6. Stem-and-Leaf Plots
- 7. Histograms
- 8. Kernel Density Plots
- 9. Bar Plots (Bar Charts)
- 10. Pie Charts
- 11. Rug Plots
- III. Two-Variable Graphs
- 12. Scatter Plots and Line Charts
- 13. High-Density Plots
- 14. The Bland-Altman Plot
- 15. QQ Plots
- IV. Multivariable Graphs
- 16. Scatter Plot Matrices and Corrgrams
- 17. Three-Dimensional Plots
- 18. Coplots (Conditioning Plots)
- 19. Clustering: Dendrograms and Heat Maps
- 20. Mosaic Plots
- V. What Now?
- 21. Resources for Extending Your Knowledge of Things Graphical and R Fluency
- A. References
- B. R Colors
- C. The R Commander Graphical User Interface
- D. Packages Used/Referenced
- E. Importing Data from Outside of R
-
F. Solutions to Chapter Exercises
- Exercises 1-1 Through 1-4
- Exercise 3-1
- Exercise 3-2
- Exercise 4-1
- Exercise 4-2
- Exercise 5-1
- Exercise 5-2
- Exercise 6-1
- Exercise 6-2
- Exercise 7-1
- Exercise 8-1
- Exercise 8-2
- Exercise 9-1
- Exercise 9-2
- Exercise 10-1
- Exercise 10-2
- Exercise 11-1
- Exercise 12-1
- Exercise 12-2
- Exercise 13-1
- Exercise 14-1
- Exercise 15-1
- Exercise 15-2
- Exercise 16-1
- Exercise 17-1
- Exercise 17-2
- Exercise 18-1
- Exercise 19-1
- Exercise 19-2
- Exercise 19-3
- Exercise 20-1
- Exercise 21-1
-
G. Troubleshooting: Why Doesn’t My Code Work?
- Misspelling
- Confusing Uppercase/Lowercase
- Too Few (or Too Many) Parenthesis Signs
- Forgetting to Load a Package
- Forgetting to Install a Package
- A Dataset in a Loaded Package Is Not Found
- Leaving Out a Comma
- Copy-and-Paste Error
- Directory Problems—Cannot Load a Saved File
- Missing File Extension
- Do Not Assume That All Packages Use the Same Argument Abbreviations
- Outdated Packages/Package Incompatibility
- H. R Functions Introduced in This Book
- Index
Product information
- Title: Graphing Data with R
- Author(s):
- Release date: October 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491922613
You might also like
book
A Course in Statistics with R
Integrates the theory and applications of statistics using R A Course in Statistics with R has …
book
R: Data Analysis and Visualization
Master the art of building analytical models using R About This Book Load, wrangle, and analyze …
book
Visualizing Data in R 4: Graphics Using the base, graphics, stats, and ggplot2 Packages
Master the syntax for working with R’s plotting functions in graphics and stats in this easy …
book
R Data Mining
Mine valuable insights from your data using popular tools and techniques in R About This Book …