Re: [R] What does rbind(iris[,,1], iris[,,2], iris[,,3]) do?

2006-04-13 Thread Prof Brian Ripley
'iris' in S-PLUS is not the same as 'iris' in R, rather similar to 'iris3' in R. You need the fourth (2002) edition of the book to work with R. The book does say in many places (including its title) it is about 'S-PLUS', but does have on-line complements about the changes needed for R of a

Re: [R] What does rbind(iris[,,1], iris[,,2], iris[,,3]) do?

2006-04-13 Thread Gabor Grothendieck
What you are referring to iris is called iris3 in R so just replace iris with iris3. iris3 is a 3d array in R whereas iris is a data frame. On 4/13/06, Sasha Pustota [EMAIL PROTECTED] wrote: It's in the Venables Ripley MASS (ed 3) book in the section on principal components. The context is

Re: [R] What does rbind(iris[,,1], iris[,,2], iris[,,3]) do?

2006-04-13 Thread François Pinard
[Gabor Grothendieck] What you are referring to iris is called iris3 in R so just replace iris with iris3. iris3 is a 3d array in R whereas iris is a data frame. Thanks for this calm and simple reply. Some could learn from you! :-) -- François Pinard http://pinard.progiciels-bpi.ca

Re: [R] What does rbind(iris[,,1], iris[,,2], iris[,,3]) do?

2006-04-13 Thread Sasha Pustota
Brian Ripley [EMAIL PROTECTED] wrote: 'iris' in S-PLUS is not the same as 'iris' in R, rather similar to 'iris3' in R. Thank you! This answered all my questions. You need the fourth (2002) edition of the book to work with R. The book does say in many places (including its title) it is about