Message-ID: <eb555e660901061250sf6c9a88y1c905da19967e9a0@mail.gmail.com>
Date: 2009-01-06T20:50:49Z
From: Deepayan Sarkar
Subject: Overlaying several qqnorm curves in same frame
In-Reply-To: <3a52d6fb0901061117y56e9095el7f7408cbd65f711d@mail.gmail.com>
On 1/6/09, Assaf oron <assaf.oron at gmail.com> wrote:
> Hi all,
>
> I want to create a rather standard overlaid qqnorm plot on a single
> variable, with different subgroups of the same dataset plotted using
> different colors/symbols/etc. (I don't want side-by-side, rather
> different-colored curves on the same graph)
>
> I managed to do it rather tediously using "lapply" and "split", and wondered
> whether there is any single-command shortcut. Is there anything on the
> "lattice" package perhaps?
Yes, use qqmath(~x, groups=...), e.g.,
qqmath(~ height, data = singer, groups = voice.part, auto.key = TRUE)
-Deepayan