Data was recorded on 44 doctors working in an emergency service at a hospital to study the factors affecting the number of complaints received.
data(esdcomp)A data frame with 44 observations on the following 6 variables.
visitsthe number of patient visits
complaintsthe number of complaints
residencyis the doctor in residency training N
or Y
gendergender of doctor F or M
revenuedollars per hour earned by the doctor
hourstotal number of hours worked