powered by
Capture the output of stem() function and plot them into graphic devices. However, the result of setting scale parameter as 2 may be controversial.
gstem(X, scale)
A numeric vector.
Parameter to control plot length of graph. Default is 1.
Minato Nakazawa minatonakazawa@gmail.com https://minato.sip21c.org/
x <- rnorm(100, 10, 1) stem(x) stem(x, 2) layout(t(1:2)) gstem(x) gstem(x, 2)
Run the code above in your browser using DataLab