
stem
produces a stem-and-leaf plot of the values in x
.
The parameter scale
can be used to expand the scale of the
plot. A value of scale = 2
will cause the plot to be roughly
twice as long as the default.
stem(x, scale = 1, width = 80, atom = 1e-08)
a numeric vector.
This controls the plot length.
The desired width of plot.
a tolerance.
Infinite and missing values in x
are discarded.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
# NOT RUN {
stem(islands)
stem(log10(islands))
# }
Run the code above in your browser using DataLab