Last active
January 22, 2020 18:30
-
-
Save rsalaza4/6c81cbd486cf82fbaa6b8dd68f487a43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import the SixSigma package | |
library(SixSigma) | |
# Create 50 random data points | |
x <- rnorm(50 ,15, 5) | |
# Build the run chart | |
plot(x, | |
type = "b", | |
pch = 16, | |
ylim = c(0,30), | |
axes = FALSE, | |
main = "Run Chart Title", | |
sub = "Chart Subtitle", | |
xlab = "Run", | |
ylab = "y (measure)") | |
axis(1, | |
at = 0:50, | |
cex.axis = 0.7) | |
axis(2) | |
box() | |
grid() | |
abline(h = 15 , | |
lwd = 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment