This data set contains the thickness and additional data for 24 metal plates.

data("ss.data.thickness")

Format

A data frame with 24 observations on the following 5 variables.

thickness

a numeric vector with the thickness (in)

day

a factor with the day (two days)

shift

a factor with the shift (two shifts)

dayshift

a factor with the day-shift combination

position

a factor with the position of the thickness with respect to the nominal value of 0.75 in

Source

Table 5.1 in the reference below.

Details

This data set illustrates concepts in the book ``Quality Control with R''. Note that, in the book, the data set is named plates and it is created sequentially throughout the examples.

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.thickness)
str(ss.data.thickness) 
#> 'data.frame':	24 obs. of  5 variables:
#>  $ thickness: num  0.821 0.846 0.892 0.75 0.773 0.786 0.956 0.84 0.913 0.737 ...
#>  $ day      : Factor w/ 2 levels "Day1","Day2": 1 1 1 1 1 1 1 1 1 1 ...
#>  $ shift    : Factor w/ 2 levels "Shift1","Shift2": 1 1 1 1 1 1 2 2 2 2 ...
#>  $ dayshift : Factor w/ 4 levels "Day1.Shift1",..: 1 1 1 1 1 1 2 2 2 2 ...
#>  $ position : Factor w/ 2 levels "bellow","above": 2 2 2 1 2 2 2 2 2 1 ...
lattice::bwplot(thickness ~ shift | day,
    data = ss.data.thickness)