Last data update: 2014.03.03

R: Pellets density
ss.data.densityR Documentation

Pellets density

Description

This data set contains the density for 24 pellets.

Usage

data("ss.data.density")

Format

A vector with 24 items for the density of a set of pellets (gr/cm$^3$).

Details

This data set illustrates concepts in the book “Quality Control with R”. Note that, in the book, the vector named pdensity is directly created and then used in the examples.

Source

Table 1.2 in the reference below.

References

Cano, E.L. and Moguerza, J.M. and Prieto Corcoba, M. (2015) Quality Control with R. An ISO Standards Approach. Springer.

Examples


data(ss.data.density)
str(ss.data.density) 
library(qcc)
qcc(ss.data.density,
    type = "xbar.one")

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.density.Rd_%03d_medium.png", width=480, height=480)
> ### Name: ss.data.density
> ### Title: Pellets density
> ### Aliases: ss.data.density
> ### Keywords: datasets
> 
> ### ** Examples
> 
> 
> data(ss.data.density)
> str(ss.data.density) 
 num [1:24] 10.7 10.6 10.6 10.8 10.8 ...
> library(qcc)
Package 'qcc', version 2.6
Type 'citation("qcc")' for citing this R package in publications.
> qcc(ss.data.density,
+     type = "xbar.one")
List of 11
 $ call      : language qcc(data = ss.data.density, type = "xbar.one")
 $ type      : chr "xbar.one"
 $ data.name : chr "ss.data.density"
 $ data      : num [1:24, 1] 10.7 10.6 10.6 10.8 10.8 ...
  ..- attr(*, "dimnames")=List of 2
 $ statistics: Named num [1:24] 10.7 10.6 10.6 10.8 10.8 ...
  ..- attr(*, "names")= chr [1:24] "1" "2" "3" "4" ...
 $ sizes     : int [1:24] 1 1 1 1 1 1 1 1 1 1 ...
 $ center    : num 10.7
 $ std.dev   : num 0.0943
 $ nsigmas   : num 3
 $ limits    : num [1, 1:2] 10.5 11
  ..- attr(*, "dimnames")=List of 2
 $ violations:List of 2
 - attr(*, "class")= chr "qcc"
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>