--- title: "Quality Control with R: Intuitive Example" author: "Emilio L. Cano" date: "31/01/2015" output: word_document --- This is my first report of quality control using R. First, I will create the data I need from the example in the Book *Quality Control with R*. I also need to load the `qcc` library: ```{r} pdensity <- c(10.6817, 10.6040, 10.5709, 10.7858, 10.7668, 10.8101, 10.6905, 10.6079, 10.5724, 10.7736, 11.0921, 11.1023, 11.0934, 10.8530, 10.6774, 10.6712, 10.6935, 10.5669, 10.8002, 10.7607, 10.5470, 10.5555, 10.5705, 10.7723) library(qcc) ``` And this is my first control chart using R: ```{r, echo=FALSE} qcc(data = pdensity, type = "xbar.one") ``` It worked! Using R for quality control is great :)