Learn R Programming

faraway (version 1.0.7)

esdcomp: Complaints about emergency room doctors

Description

Data was recorded on 44 doctors working in an emergency service at a hospital to study the factors affecting the number of complaints received.

Usage

data(esdcomp)

Arguments

Format

A data frame with 44 observations on the following 6 variables.

visits

the number of patient visits

complaints

the number of complaints

residency

is the doctor in residency training N or Y

gender

gender of doctor F or M

revenue

dollars per hour earned by the doctor

hours

total number of hours worked