Skip to content

Instantly share code, notes, and snippets.

@rsalaza4
Last active January 22, 2020 18:30
Show Gist options
  • Save rsalaza4/6c81cbd486cf82fbaa6b8dd68f487a43 to your computer and use it in GitHub Desktop.
Save rsalaza4/6c81cbd486cf82fbaa6b8dd68f487a43 to your computer and use it in GitHub Desktop.
# 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