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

Chuck Cleland ccleland at optonline.net
Thu Sep 28 11:20:30 CEST 2006


8rino-Luca Pantani wrote:
> 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.

Have a look at plot.design().

> Ottorino-Luca Pantani, Università di Firenze
> Dip. Scienza del Suolo e Nutrizione della Pianta
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894



More information about the R-help mailing list