.BG
.FN stem
.TL
Stem-and-Leaf Display
.CS
stem(x, nl, scale,
   twodig=1, fence, head=T, depth=F)
.AG x
numeric vector to be displayed.  Missing values (`NA's) are
allowed.
.AG nl
number of different leaf values on a stem.  Allowed values
are `2', `5', `10'.  Default is to determine an appropriate value
automatically.
.AG scale
position at which break occurs between stem and leaf,
counting to the right from the decimal point; e.g., `-1' would
break between the tens and the units digit.  By default, a
suitable position is chosen from the range of the data.
.AG twodig
number of leaf digits, `1' or `2'.
.AG fence
the multiple of the inter-quartile range used to determine
outliers.  By default, any point further than 2
inter-quartile ranges from the nearest quartile is considered an
outlier, and is printed separately from the body of the stem-and-leaf display.
If the inter-quartile range is zero, the algorithm performs outlier
detection by means of quartiles of the remainder of the data
after exclusion of values equal to the median and quartiles.
.AG head
if `TRUE', print a heading giving median,
quartiles, and counts of data values and `NA's.
.AG depth
if `TRUE', precede each line with depth and count.
The count is the number of data values on a line.
The depth is the cumulative sum of the counts to the nearer extreme.
.br
.ne 20
.EX
.Si "stem(lottery.payoff)"

N = 254   Median = 270.25
Quartiles = 194, 365

Decimal point is 2 places to the right of the colon

   0 : 8
   1 : 000011122233333333333344444
   1 : 55555566666677777778888888899999999999
   2 : 0000000111111111111222222233333333444444444
   2 : 555556666666666777778889999999999999999
   3 : 000000001111112222333333333444
   3 : 55555555666667777777888888899999999
   4 : 0122234
   4 : 55555678888889
   5 : 111111134
   5 : 555667
   6 : 44
   6 : 7

High: 756.0 869.5
.KW hplot
.WR
