Quality Control with R pp 29-92

Part of the Use R! book series (USE R)

| Cite as

An Introduction to R for Quality Control

  • Emilio L. Cano
  • Javier M. Moguerza
  • Mariano Prieto Corcoba


This chapter introduces R as statistical software and programming language for quality control. The chapter is organized as a kind of tutorial with lots of examples ready to be run by the reader. Moreover, the code is available at the book’s companion website. Even though the RStudio interface is also introduced in the chapter, any other user interface can be used, including the R default GUI and code editor.


  1. 1.
    Anhoej, J.: qicharts: quality improvement charts. http://www.CRAN.R-project.org/package=qicharts (2015). R package version 0.2.0
  2. 2.
    Annau, M.: h5: interface to the ‘HDF5’ library. http://www.CRAN.R-project.org/package=h5 (2015). R package version 0.9
  3. 3.
    Barbosa, E.P., Barros, F.M.M., de Jesus Goncalves, E., Recchia, D.R.: IQCC: improved quality control charts. http://www.CRAN.R-project.org/package=IQCC (2014). R package version 0.6
  4. 4.
    Block, U.: Using an algorithm by Hatto von Hatzfeld: ISOweek: week of the year and weekday according to ISO 8601. http://www.CRAN.R-project.org/package=ISOweek (2011). R package version 0.6-2
  5. 5.
    Cano, E.L., Moguerza, J.M., Redchuk, A.: Six sigma with R. In: Statistical Engineering for Process Improvement, Use R!, vol. 36. Springer, New York (2012). http://www.springer.com/statistics/book/978-1-4614-3651-5
  6. 6.
    Chambers, J.M.: Software for data analysis. In: Programming with R. Statistics and Computing. Springer, Berlin (2008)CrossRefMATHGoogle Scholar
  7. 7.
    Chheng, T.: RMongo: MongoDB client for R. http://www.CRAN.R-project.org/package=RMongo (2013). R package version 0.0.25
  8. 8.
    Ciupke, K.: Multivariate process capability vector based on one-sided model. Qual. Reliab. Eng. Int. (2014). doi:10.1002/qre.1590. R package version 1.1Google Scholar
  9. 9.
    Conway, J., Eddelbuettel, D., Nishiyama, T., Prayaga, S.K., Tiffin, N.: RPostgreSQL: R interface to the PostgreSQL database system. http://www.CRAN.R-project.org/package=RPostgreSQL (2013). R package version 0.4
  10. 10.
    Dodge, H., Romig, H.: Sampling Inspection Tables, Single and Double Sampling. Wiley, New York (1959)MATHGoogle Scholar
  11. 11.
    Fellows, I.: Deducer: a data analysis gui for R. J. Stat. Softw. 49(8), 1–15 (2012). http://www.jstatsoft.org/v49/i08/
  12. 12.
    Flores, M., Naya, S., Fernandez, R.: qcr: quality control and reliability. http://www.CRAN.R-project.org/package=qcr (2014). R package version 0.1-18
  13. 13.
    Fox, J.: The R commander: a basic statistics graphical user interface to R. J. Stat. Softw. 14(9), 1–42 (2005). http://www.jstatsoft.org/v14/i09
  14. 14.
    Free Software Foundation, Inc.: Free Software Foundation website. http://www.gnu.org (2014) [Retrieved 2014-07-10]
  15. 15.
    Godfrey, A.J.R., Govindaraju, K.: Dodge: functions for acceptance sampling ideas originated by H.F. Dodge. http://www.CRAN.R-project.org/package=Dodge (2013). R package version 0.8
  16. 16.
    ISO/IEC JTC 1 – Information Technology: ISO/IEC 12207:2008, Systems and Software Engineering – Software Life Cycle Processes. ISO – International Organization for Standardization (2008). http://www.iso.org/iso/catalogue_detail?csnumber=43447
  17. 17.
    ISO TC154 – Processes, Data Elements and Documents in Commerce, Industry and Administration: ISO 8601 Data Elements and Interchange Formats – Information Interchange – Representation of Dates and Times. ISO – International Organization for Standardization (2004)Google Scholar
  18. 18.
    ISO TC69/SCS–Secretariat: ISO 16269-4:2010 – Statistical Interpretation of Data – Part 4: Detection and Treatment of Outliers. Published Standard. http://www.iso.org/iso/catalogue_detail.htm?csnumber=44396 (2010)
  19. 19.
    ISO TC69/SCS–Secretariat: ISO 28640:2010 – Random Variate Generation Methods. Published Standard. http://www.iso.org/iso/catalogue_detail.htm?csnumber=42333 (2015)
  20. 20.
    Kiermeier, A.: Visualizing and assessing acceptance sampling plans: the R package AcceptanceSampling. J. Stat. Softw. 26(6) (2008). http://www.jstatsoft.org/v26/i06/
  21. 21.
    Lang, D.T., The CRAN Team: XML: tools for parsing and generating XML within R and S-plus. http://www.CRAN.R-project.org/package=XML (2015). R package version 3.98-1.3
  22. 22.
    Mirai Solutions GmbH: XLConnect: excel connector for R. http://www.CRAN.R-project.org/package=XLConnect (2015). R package version 0.2-11
  23. 23.
    Mukhin, D., James, D.A., Luciani, J.: ROracle: OCI based oracle database interface for R. http://www.CRAN.R-project.org/package=ROracle (2014). R package version 1.1.12
  24. 24.
    Murrell, P.: R Graphics, 2nd edn. Chapman & HallCRC, Boca Raton (2011)MATHGoogle Scholar
  25. 25.
    Ooms, J., James, D., DebRoy, S., Wickham, H., Horner, J.: RMySQL: database interface and MySQL driver for R. http://www.CRAN.R-project.org/package=RMySQL (2015). R package version 0.10.1
  26. 26.
    R Core Team: Foreign: read data stored by minitab, S, SAS, SPSS, Stata, Systat, Weka, dBase, …. http://www.CRAN.R-project.org/package=foreign (2015). R package version 0.8-64
  27. 27.
    R Core Team: R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna (2015). http://www.R-project.org/
  28. 28.
    Ripley, B., Lapsley, M.: RODBC: ODBC database access. http://www.CRAN.R-project.org/package=RODBC (2015). R package version 1.3-12
  29. 29.
    Roth, T.: qualityTools: statistics in quality science. http://www.r-qualitytools.org (2012). R package version 1.54 http://www.r-qualitytools.org
  30. 30.
    RStudio Team: RStudio: Integrated Development Environment for R. RStudio Inc., Boston, MA (2012). http://www.rstudio.com/
  31. 31.
    Santos-Fernández, E.: Multivariate Statistical Quality Control Using R, vol. 14. Springer, Berlin (2013). http://www.springer.com/statistics/computational+statistics/book/978-1-4614-5452-6
  32. 32.
    Sarkar, D.: Lattice: Multivariate Data Visualization with R. Springer, New York (2008). http://www.lmdvr.r-forge.r-project.org. ISBN 978-0-387-75968-5
  33. 33.
    Scrucca, L.: qcc: an r package for quality control charting and statistical process control. R News 4/1, 11–17 (2004). http://www.CRAN.R-project.org/doc/Rnews/
  34. 34.
    Shewhart, W.: Economic Control of Quality in Manufactured Products. Van Nostrom, New York (1931)Google Scholar
  35. 35.
    Urbanek, S.: RJDBC: provides access to databases through the JDBC interface. http://www.CRAN.R-project.org/package=RJDBC (2014). R package version 0.2-5
  36. 36.
    Wickham, H.: ggplot2: elegant graphics for data analysis. In: Use R! Springer, Berlin (2009)Google Scholar
  37. 37.
    Wickham, H., James, D.A., Falcon, S.: RSQLite: SQLite interface for R. http://www.CRAN.R-project.org/package=RSQLite (2014). R package version 1.0.0
  38. 38.
    Xie, Y.: Dynamic Documents with R and Knitr. Chapman and Hall/CRC, Boca Raton, FL (2013). http://www.yihui.name/knitr/. ISBN 978-1482203530
  39. 39.
    Xie, Y.: knitr: a comprehensive tool for reproducible research in R. In: Stodden, V., Leisch, F., Peng, R.D. (eds.) Implementing Reproducible Computational Research. Chapman and Hall/CRC, Boca Raton (2014). http://www.crcpress.com/product/isbn/9781466561595. ISBN 978-1466561595
  40. 40.
    Xie, Y.: knitr: a general-purpose package for dynamic report generation in R. http://www.yihui.name/knitr/ (2015). R package version 1.10.5
  41. 41.
    Young, D.S.: tolerance: an R package for estimating tolerance intervals. J. Stat. Softw. 36(5), 1–39 (2010). http://www.jstatsoft.org/v36/i05/

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Emilio L. Cano
    • 1
    • 2
  • Javier M. Moguerza
    • 1
  • Mariano Prieto Corcoba
    • 3
  1. 1.Department of Computer Science and StatisticsRey Juan Carlos UniversityMadridSpain
  2. 2.Statistics Area, DHEPThe University of Castilla-La ManchaCiudad RealSpain
  3. 3.ENUSA Industrias AvanzadasMadridSpain

Personalised recommendations