[EMAIL PROTECTED] writes: > Full_Name: Liming Liang > Version: 1.8.1 > OS: windows2000 professional > Submission from: (NULL) (67.172.81.139) > > > I was looking at the variable 'mpg' of the data file 'mtcars' and make a stem > plot, the following is the commend I entered. The stem plot shows the largest > observation is 32.9 but actually in the data the largest observation is 33.9, > here might be a problem. > > > data(mtcars) > > stem(mtcars$mpg) > > The decimal point is at the | > > 10 | 44 > 12 | 3 > 14 | 3702258 > 16 | 438 > 18 | 17227 > 20 | 00445 > 22 | 88 > 24 | 4 > 26 | 03 > 28 | > 30 | 44 > 32 | 49
Actually it is showing the largest value as either 32.9 or 33.9. Notice that the stem is being incremented by 2, in which case the leaf can be ambiguous. ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
