Learn R Programming

SixSigma (version 0.11.1)

ss.data.bills: Errors in bills data set

Description

This data set contains the number of errors detected in a set of bills and the name of the person in charge of the bill.

Usage

data("ss.data.bills")

Arguments

Format

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

nbill

a numeric vector identifying a given bill

clerk

a character vector for the clerk responsible for the bill

errors

a character vector with the number of errors in the bill

Details

This data set illustrates concepts in the book ``Quality Control with R''.

References

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

Examples

Run this code

data(ss.data.bills)
str(ss.data.bills) 
barplot(table(ss.data.bills$clerk), 
    main = "number of invoices")
aggregate(errors ~ clerk, ss.data.bills, sum)

Run the code above in your browser using DataLab