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

Rich Shepard rshepard at appl-ecosys.com
Wed May 16 02:36:57 CEST 2012


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 you really want separate panels
> for each transformation. Also can use layout=c(1,1,120) if you need each
> in a separate page - or say c(3,2,20) for 20 pages of 6 panels each, etc.
> Regarding your script, there is a syntax error:

ilai,

   Good to know! Thank you.

>> pdf('ag_norm.pdf') qqmath(~ Ag | factor(basin), data = surfchem.cast,
>> main = 'Silver (Untransformed'),
>
> Right here the " ' " is on the wrong side of " ) " causing the error:

   Oops! I saw what I expected to see, not what was there. Again, thanks.

Rich

-- 
Richard B. Shepard, Ph.D.          |   Integrity - Credibility - Innovation
Applied Ecosystem Services, Inc.   |    Helping Ensure Our Clients' Futures
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



More information about the R-help mailing list