Skip to content
Back to formatted view

Raw Message

Message-ID: <20090526115515.5f2eb1c2@gmx.net>
Date: 2009-05-26T09:55:15Z
From: Stefan Grosse
Subject: Creating multiple graphs based on one variable
In-Reply-To: <850616.89803.qm@web36107.mail.mud.yahoo.com>

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