[R] Lattice::qqmath -- groups option question

Deepayan Sarkar deepayan at stat.wisc.edu
Thu Jun 10 18:32:10 CEST 2004

On Thursday 10 June 2004 10:38, richard.kittler at amd.com wrote:
> Thanks for the info. Given that I rule out qqmath would the best
> method be to make repeated calls to qqnorm without plotting and then
> overlay the results or is there a more elegant method?

I don't think there's any good way currently. 

You could use densityplot (the reason to prefer that over xyplot is that 
the formula is similar, and the panel function would only be supplied 
an 'x' vector and no 'y' vector), with a custom prepanel and 
panel.groups functions that draw the Q-Q plot given the 'x' values. I 
don't have time to work out the details right now, but let me know if 
you have trouble getting it to work.


More information about the R-help mailing list