[R] I: differences between R and S (reproducing a plot from a book )

8rino-Luca Pantani ottorino-luca.pantani at unifi.it
Thu Sep 28 09:19:17 CEST 2006

Dear R-Users,
I'm currently studying the book
Statistical model in S by Chambers J.M and Hastie T.J..

At page n 3 there's a plot showing the means of a variable at each of the
levels of the factors of an experiment.
I hope to be able to reproduce it here by ASCII art.

  S           |
  |   Thin    |
  |     |     |
  |     |     B3
  |     |     |
  |     |     |
  M     |     |
  |   Thick   |
  L           |

Is told to be obtained by the (S) expression


Using the same command in R, a different plot is obtained instead.
It is a multlple xy plot where the values of each variable are plotted
the values of the others.

Is there an equivalent command in R to obtain a plot similar to that showed
Thanks for your time in reading this mine.

Ottorino-Luca Pantani, Università di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta

More information about the R-help mailing list