R Graphics <FAST>

In the early days, R used what was known as the . Imagine a blank digital canvas called a graphics device . To tell a story, R would "paint" elements one by one.

First, it would lay down the background and axes using like plot() or hist() . R Graphics

Then, it would add detail—dots, lines, or text—using .The catch? Much like physical paint, once a layer was down, a new one would obscure whatever was beneath it. This "Base Graphics" system was simple, fast, and powerful for quick exploration. The Rise of the Lattice In the early days, R used what was known as the

As the kingdom grew more complex, the data did too. Simple plots weren't enough to show multi-dimensional relationships. Enter the . Inspired by the "Trellis" style, Lattice allowed R to create multi-panel plots that could show different facets of data side-by-side automatically. It made big decisions for the user—like spacing and margins—so the storyteller could focus on the patterns rather than the plumbing. The Grammar of Graphics First, it would lay down the background and