R Graphics Cookbook: Practical Recipes for Visualizing Data

الغلاف الأمامي
"O'Reilly Media, Inc.", 06‏/12‏/2012 - 416 من الصفحات

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
 

المحتوى

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

طبعات أخرى - عرض جميع المقتطفات

عبارات ومصطلحات مألوفة

نبذة عن المؤلف (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.

معلومات المراجع