R Graphics Cookbook: Practical Recipes for Visualizing Data

Couverture
"O'Reilly Media, Inc.", 6 déc. 2012 - 416 pages

This practical guide provides more than 150 recipes to help you generate high-quality graphs quickly, without having to comb through all the details of R’s graphing systems. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works.

Most of the recipes use the ggplot2 package, a powerful and flexible way to make graphs in R. If you have a basic understanding of the R language, you’re ready to get started.

  • Use R’s default graphics for quick exploration of data
  • Create a variety of bar graphs, line graphs, and scatter plots
  • Summarize data distributions with histograms, density curves, box plots, and other examples
  • Provide annotations to help viewers interpret data
  • Control the overall appearance of graphics
  • Render data groups alongside each other for easy comparison
  • Use colors in plots
  • Create network graphs, heat maps, and 3D scatter plots
  • Structure data for graphing
 

Avis des internautes - Rédiger un commentaire

LibraryThing Review

Avis d'utilisateur  - nmarun - LibraryThing

This book is about leveraging R for all your graphical needs. It starts with the graphing functions in base R using the plot function. Starting chapter 3, ggplot2 takes over. The provides great amount ... Consulter l'avis complet

Table des matières

Chapter 1 R Basics
1
Chapter 2 Quickly Exploring Data
7
Chapter 3 Bar Graphs
19
Chapter 4 Line Graphs
49
Chapter 5 Scatter Plots
73
Chapter 6 Summarized Data Distributions
117
Chapter 7 Annotations
147
Chapter 8 Axes
167
Chapter 11 Facets
243
Chapter 12 Using Colors in Plots
251
Chapter 13 Miscellaneous Graphs
267
Chapter 14 Output for Presentation
323
Chapter 15 Getting Your Data into Shape
335
Appendix A Introduction to ggplot2
373
Index
385
About the Author
397

Chapter 9 Controlling the Overall Appearance of Graphs
211
Chapter 10 Legends
225

Autres éditions - Tout afficher

Expressions et termes fréquents

À propos de l'auteur (2012)

Winston Chang is presently a graduate student studying cognitive psychology at Northwestern University. During his time as a graduate student, he created a website called "R Cookbook," which contains snippets of code to handle common tasks in R. In previous lives, he's been a philosophy graduate student and a computer programmer.

Informations bibliographiques