Chapter 3. Getting started with graphs

This chapter covers

  • Creating and saving graphs
  • Customizing symbols, lines, colors, and axes
  • Annotating with text and titles
  • Controlling a graph’s dimensions
  • Combining multiple graphs into one

On many occasions, I’ve presented clients with carefully crafted statistical results in the form of numbers and text, only to have their eyes glaze over while the chirping of crickets permeated the room. Yet those same clients had enthusiastic “Ah-ha!” moments when I presented the same information to them in the form of graphs. Often I can see patterns in data or detect anomalies in data values by looking at graphs—patterns or anomalies that I completely missed when conducting more formal statistical analyses. ...

Get R in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.