Last data update: 2014.03.03

R: Particle Boards Example - Attribute data
ss.data.pb3R Documentation

Particle Boards Example - Attribute data

Description

Counts of raw materials stockouts during 22 weekdays in a month.

Usage

data(ss.data.pb3)

Format

A data frame with 22 observations on the following 3 variables.

day

Day id

stockouts

Number of stockouts

orders

Number of orders

Note

This data set is used in chapter 12 of the book “Six Sigma with R” (see References).

Source

See references.

References

Cano, Emilio L., Moguerza, Javier M. and Redchuk, Andr<c3><83><c2><a9>s. 2012. Six Sigma with R. Statistical Engineering for Process Improvement, Use R!, vol. 36. Springer, New York. http://www.springer.com/statistics/book/978-1-4614-3651-5.

Examples

data(ss.data.pb3)
summary(ss.data.pb3)
if (require(qcc)){
with(ss.data.pb3,
		plot(qcc(stockouts, orders, type ="p"))
	)
} else {
message("qcc package is needed to run this example")
}

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(SixSigma)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SixSigma/ss.data.pb3.Rd_%03d_medium.png", width=480, height=480)
> ### Name: ss.data.pb3
> ### Title: Particle Boards Example - Attribute data
> ### Aliases: ss.data.pb3
> ### Keywords: cc data
> 
> ### ** Examples
> 
> data(ss.data.pb3)
> summary(ss.data.pb3)
      day          stockouts          orders     
 Min.   : 1.00   Min.   : 1.000   Min.   :75.00  
 1st Qu.: 6.25   1st Qu.: 5.500   1st Qu.:76.00  
 Median :11.50   Median :10.000   Median :80.50  
 Mean   :11.50   Mean   : 9.682   Mean   :79.86  
 3rd Qu.:16.75   3rd Qu.:13.000   3rd Qu.:82.75  
 Max.   :22.00   Max.   :19.000   Max.   :85.00  
> if (require(qcc)){
+ with(ss.data.pb3,
+ 		plot(qcc(stockouts, orders, type ="p"))
+ 	)
+ } else {
+ message("qcc package is needed to run this example")
+ }
Loading required package: qcc
Package 'qcc', version 2.6
Type 'citation("qcc")' for citing this R package in publications.
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>