Re: [R] Lattice: Add abline to Single Value qqmath() Plot

2012-05-16 Thread Rich Shepard
On Tue, 15 May 2012, ilai wrote: Apologies in advance if I misinterpret " R console insists that I retype ..." but actually makes more sense (than sourcing a script) to use the group argument (see the last example in ?qqmath) as in 4 groups in each of 30 panels, or allow.multiple=T, outer=T if y

Re: [R] Lattice: Add abline to Single Value qqmath() Plot

2012-05-15 Thread Rich Shepard
On Tue, 15 May 2012, ilai wrote: Apologies in advance if I misinterpret " R console insists that I retype ..." but actually makes more sense (than sourcing a script) to use the group argument (see the last example in ?qqmath) as in 4 groups in each of 30 panels, or allow.multiple=T, outer=T if y

Re: [R] Lattice: Add abline to Single Value qqmath() Plot

2012-05-15 Thread ilai
On Tue, May 15, 2012 at 4:19 PM, Rich Shepard wrote: > On Tue, 15 May 2012, David L Carlson wrote: > > David, > >  I have 130 plots to produce (30 chemicals un-transformed and three > transformations). The R console insists that I retype each of the 6 lines > (adding a prepanel.qqmathline line) ea

Re: [R] Lattice: Add abline to Single Value qqmath() Plot

2012-05-15 Thread Rich Shepard
On Tue, 15 May 2012, David L Carlson wrote: qqmath(~ rnorm(100), panel = function(x, ...) { panel.qqmathline(x, ...) panel.qqmath(x, ...) }) David, I have 130 plots to produce (30 chemicals un-transformed and three transformations). The R console insists that I retype each of the 6

Re: [R] Lattice: Add abline to Single Value qqmath() Plot

2012-05-15 Thread Rich Shepard
On Tue, 15 May 2012, David L Carlson wrote: Take a look at section 3.3.6 qqmath http://www.his.sunderland.ac.uk/~cs0her/Statistics/UsingLatticeGraphicsInR.h tm You need to create a panel function. See sections 2.5.2 and 2.5.3 in the second chapter of the Lattice book (http://dsarkar.fhcrc.org/l

Re: [R] Lattice: Add abline to Single Value qqmath() Plot

2012-05-15 Thread David L Carlson
; Subject: [R] Lattice: Add abline to Single Value qqmath() Plot > >The data are not normally distributed when untransformed and I'm > trying > various transformations to see if any would be appropriate to use. The > lattice book (fig. 3.10) shows a 2-sample Q-Q plot with an

[R] Lattice: Add abline to Single Value qqmath() Plot

2012-05-15 Thread Rich Shepard
The data are not normally distributed when untransformed and I'm trying various transformations to see if any would be appropriate to use. The lattice book (fig. 3.10) shows a 2-sample Q-Q plot with an abline but the code for the figure does not include the line. I'd appreciate a pointer to a