toys {qAnalyst} | R Documentation |
toys dataframe reports control quality results from a toys factory.
data(toys)
A data frame with 80 observations on the following 7 variables.
day
day of ispection
weight
weight of the sampled toy
length
length of the sampled toy
defects
defects on sampled toys
sample
sampled toys
rejects
number of toys rejected in ispected toys
inspected
dimension of inspection sample
Fields have different lengths, due coming from different ispection processes.
Industrial data.
This dataset can be use to plot different types of control charts. Fields "rejects" and "inspected" may be used to plot np control charts.
data(toys)
npchart=spc(x=na.omit(toys$rejects), sg=na.omit(toys$inspected), type="np",
name="Toys rejected")
plot(npchart)