Raul,

This is what I got with your newer showStemLeaf. I apologize for the
poor rendering. Suffice it to say that my experiment with your newer
showStemLeaf is unsatisfactory, too, because _2 appears in the
stemplot as 8, not 2.  Perhaps you were mislead by my use of the work
stem, when leaf might have been better. I think the 0 is a stem and
the 2 4 1 and 8 are leaves. Right?


   showStemLeaf=: (}:@":@>:@*&10@expandStems@[
;":&>@expandLeaves)&>/@(>@{. ; <@{:)@|:@stemleaf@/:~
   showStemLeaf _2 4 1 8┌─┬─────┐
│_│8    │
│ │1 4 8│
└─┴─────┘
   showStemLeaf 2 4 1 8
┌┬───────┐
││1 2 4 8│
└┴───────┘




-- 
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to