Last active
January 22, 2020 18:26
-
-
Save rsalaza4/eff4a0a7e8e4894e4b82152fcf66e847 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) | |
# Specify the effect to be analyzed | |
b.effect <- "Delay" | |
# Create a vector with the names of the causes classification groups | |
b.groups <- c("Personnel", "Weather", "Suppliers", "Planning") | |
# Create a vector that contains the causes | |
b.causes <- c(vector(mode = "list", length = length(b.groups))) | |
# Create lists corresponding to the causes for each corresponding group | |
b.causes[1] <- list(c("Training", "Inadequate")) | |
b.causes[2] <- list(c("Rain", "Temperature", "Wind")) | |
b.causes[3] <- list(c("Materials", "Delays", "Rework")) | |
b.causes[4] <- list(c("Customer", "Permissions", "Errors")) | |
# Create the cause-and-effect diagram | |
ss.ceDiag(b.effect, | |
b.groups, | |
b.causes, | |
main = "Cause-and-Effect Diagram (SixSigma package)", | |
sub = "Construction Example") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment