Re: [R] construct stem and leaf plot

2013-07-19 Thread Sarah Goslee
Hi, On Fri, Jul 19, 2013 at 2:15 AM, Roslina Zakaria wrote: > Dear r-users, > > I would like to construct tem and leaf plot using iris data. It should be > easy, but I don't understand why the plot is not right. > > Thank you so much for your help. > > dat <- iris[,1] > stem(dat) The decimal p

[R] construct stem and leaf plot

2013-07-18 Thread Roslina Zakaria
Dear r-users,   I would like to construct tem and leaf plot using iris data. It should be easy, but I don't understand why the plot is not right.   Thank you so much for your help.   dat <- iris[,1] > stem(dat) The decimal point is 1 digit(s) to the left of the | 42 | 0 44 | 46 | 00 48