Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gstem

Draw the stem and leaf plot in a graphic device.


Description

Capture the output of stem() function and plot them into graphic devices. However, the result of setting scale parameter as 2 may be controversial.

Usage

gstem(X, scale)

Arguments

X

A numeric vector.

scale

Parameter to control plot length of graph. Default is 1.

Author(s)

Examples

x <- rnorm(100, 10, 1)
 stem(x)
 stem(x, 2)
 layout(t(1:2))
 gstem(x)
 gstem(x, 2)

fmsb

Functions for Medical Statistics Book with some Demographic Data

v0.7.1
GPL (>= 2)
Authors
Minato Nakazawa <minato-nakazawa@umin.net>
Initial release
2021-05-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.