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

[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

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

2012-05-15 Thread David L Carlson
of Anthropology Texas AM University College Station, TX 77843-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Rich Shepard Sent: Tuesday, May 15, 2012 12:31 PM To: r-help@r-project.org Subject: [R] Lattice: Add abline

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

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 ilai
On Tue, May 15, 2012 at 4:19 PM, Rich Shepard rshep...@appl-ecosys.com 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

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