Plotting with a grammar.
In ggplot, the frame is named with facet. To control the layout, we could use the following methods:
qplot(x, y, data=data, facets=.~z) qplot(x, y, data=data, facets=z.~)