R Graphics Cookbook: Practical Recipes for Visualizing Data

Cover
"O'Reilly Media, Inc.", 06.12.2012 - 416 Seiten
1 Rezension

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
 

Was andere dazu sagen - Rezension schreiben

LibraryThing Review

Nutzerbericht  - 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 ... Vollständige Rezension lesen

Inhalt

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

Andere Ausgaben - Alle anzeigen

Häufige Begriffe und Wortgruppen

Über den Autor (2012)

Winston Chang is a software engineer at RStudio, where he works on data visualization and software development tools for R. He holds a Ph.D. in Psychology from Northwestern University. During his time as a graduate student, he created a website called "Cookbook for R", which contains recipes for handling common tasks in R. In previous lives, he was a philosophy graduate student and a computer programmer.

Bibliografische Informationen