This demonstrates the 7 basic quality tools
summary(cars)
You can also embed plots, for example:
## Installing qcc [2.7] ...
## OK [linked cache]
## Package 'qcc' version 2.7
## Type 'citation("qcc")' for citing this R package in publications.
##
## Pareto chart analysis for defects
## Frequency Cum.Freq. Percentage Cum.Percent.
## Defect 2 389.0000000 389.0000000 38.0626223 38.0626223
## Defect 10 321.0000000 710.0000000 31.4090020 69.4716243
## Defect 8 109.0000000 819.0000000 10.6653620 80.1369863
## Defect 3 65.0000000 884.0000000 6.3600783 86.4970646
## Defect 9 45.0000000 929.0000000 4.4031311 90.9001957
## Defect 6 30.0000000 959.0000000 2.9354207 93.8356164
## Defect 1 27.0000000 986.0000000 2.6418787 96.4774951
## Defect 5 15.0000000 1001.0000000 1.4677104 97.9452055
## Defect 7 12.0000000 1013.0000000 1.1741683 99.1193738
## Defect 4 9.0000000 1022.0000000 0.8806262 100.0000000
## Installing SixSigma [0.10.3] ...
## OK [linked cache]
##
## Call:
## qcc(data = df$defects, type = "c", sizes = df$sample_size, data.name = "defects")
##
## c chart for defects
##
## Summary of group statistics:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 1.00 2.00 2.50 2.46 3.00 4.00
##
## Group sample size: 20
## Number of groups: 50
## Center of group statistics: 2.46
## Standard deviation: 1.568439
##
## Control limits:
## LCL UCL
## 0 7.165316
## * There are no packages to install.
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.