[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.

              B6
  S           |
  |   Thin    |
  |     |     |
  |     |     B3
__|_____|_____|__......etc
  |     |     |
  |     |     |
  M     |     |
  |   Thick   |
  L           |
              |
              A3
              |
              A1.5

Is told to be obtained by the (S) expression

plot(dataframe.df)

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
against
the values of the others.

Is there an equivalent command in R to obtain a plot similar to that showed
above?
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