[R] Cook-distance-type plot (vertical bars)

Paul, David A paulda at BATTELLE.ORG
Thu Aug 28 21:20:12 CEST 2003

I'm (relatively) new to R myself, and recently found 
the documentation by Dr. William Cleveland et al at


It has been helpful, and covers S/Splus trellis graphics.  In R, the
equivalent is known as "lattice" graphics, and the syntax is
virtually identical.  Earlier today, Dr. Peter Dunn posted a 
notice to the R listserv announcing a workshop in Australia being
led by Dr. John Maindonald... in that announcement, you will find

"...John Maindonald, the author of the forthcoming book 'Data Analysis 
and Graphics Using R: An Example-Based Approach' (with John Braun)..."

so apparently there is a forthcoming book detailing the graphical
capabilities of R.  I'm eagerly awaiting the opportunity to buy it
and digest its contents!  Until then, I think the links to the 
.ps and .pdf files above should serve well.

Best wishes,
  david paul

P.S. - You should keep in mind that there are two classes of 
graphical functions in S/Splus/R: "regular" functions and
"trellis/lattice" functions.  They operate very differently.
After using a few of each, I must say that I am very impressed
with the power and flexibility of the trellis/lattice 
plotting functions.

-----Original Message-----
From: Frank Gibbons [mailto:fgibbons at hms.harvard.edu] 
Sent: Thursday, August 28, 2003 1:53 PM
To: R users
Subject: Re: [R] Cook-distance-type plot (vertical bars)

Thanks to all who responded, and so promptly too: it works exactly as you 

> >
> > Figure 13 of Emmanuel Paradis's "R for Beginners" was produced by 
> > termplot working on an aov object.
>No, it was produced by plot() working on a aov object, as its caption 
>indicates.  The termplot() is Figure 14.

Thomas Lumley is quite right, it's produced by plot() (not termplot()), and 
it is mentioned on p31 of "R for beginners". My mistake.

In the interest of self education, is there a more comprehensive source for 
plot-types that I should read? Ideally, this would be something with lots 
of figures, so that I could browse the figures to find what I want to do, 
and then look up how to do it. "R for Beginners" goes some way along this 
path, but perhaps there's something more comprehensive?

Thanks again,


PhD, Computational Biologist,
Harvard Medical School BCMP/SGM-322, 250 Longwood Ave, Boston MA 02115, USA.
Tel: 617-432-3555       Fax: 
617-432-3557       http://llama.med.harvard.edu/~fgibbons

R-help at stat.math.ethz.ch mailing list

More information about the R-help mailing list