[R] Creating multiple graphs based on one variable
Stefan Grosse
singularitaet at gmx.net
Tue May 26 11:55:15 CEST 2009
On Tue, 26 May 2009 02:34:55 -0700 (PDT) Tim Clark
<mudiver1200 at yahoo.com> wrote:
TC> I would like separate plots for Tony, Mike, and Vicky. What is the
TC> best way to do this?
use the lattice package:
library(lattice)
xyplot(y~x|Name,data=dat)
Mr. Sarkar (the author of the package) has written an excellent book on
his package I recommend it.
hth
Stefan
More information about the R-help
mailing list