Thank you Jim.

Here I creat an example: A<-c(1.1,1.2,2.2,1.3, 1.5, 2.5)
                                     B<-c(2.2,2.3,2.4,2.2, 2.0,1.9, 2.5)
I will need to draw the parallel stem-and-leaf displays to show the
difference in trend/pattern between the two data patches.

And I think parellel stem-and-leaf displays by Tukey means that the two
displays share the same stem, but different leaves. And I don't think there
is an R command for this.

In addition, I am confused by another problem in stem-and-leaf display that
is done by R.

Here it is :
Y<-c(12,15,15,10,13,15,14,8,11,9,14,9,13,14,12,16,15,13,12,12,9)
                  y<-Y/100
                  stem.leaf(y,0.01)
1 | 2: represents 0.12
 leaf unit: 0.01
         n: 21
   1     s | 7
   4    0. | 999
 10    1* | 002222
   (3)    t | 333
    8     f | 44444445


This result is quite confusing, cos the smallest leaf should be "8" rather
than "7", plus there is non "7" in the dataset. And more over, there is no
"16" shown in the last line of leaves.

If anyone knows what's going on here, please let me know. Thank you!

Jin





On Sat, Sep 13, 2008 at 5:45 AM, Jim Lemon <[EMAIL PROTECTED]> wrote:

>  Celia Chen wrote:
>
>> Hi there,
>>
>> I am trying to find a way to accomplish parallel stem-and-leaf displays in
>> R, yet there seems to be no specific command nor info in the archive that
>> I
>> can depend on.
>>
>> Specifically, there are two batches of data that I want to put together in
>> parallel stem-and-leaf displays. Would anyone help me figure out how to do
>> this in R?
>>
>>
>>
> Hi Jin,
> I can't quite work out what you want to do. Could you supply an example?
>
> Jim
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to