This data set contains the thickness and additional data for 24 metal plates.
data("ss.data.thickness")
A data frame with 24 observations on the following 5 variables.
a numeric vector with the thickness (in)
a factor with the day (two days)
a factor with the shift (two shifts)
a factor with the day-shift combination
a factor with the position of the thickness with respect to the nominal value of 0.75 in
Table 5.1 in the reference below.
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.
Cano, E.L. and Moguerza, J.M. and Prieto Corcoba, M. (2015) Quality Control with R. An ISO Standards Approach. Springer.
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)