Learn R Programming

BSDA (version 1.2.0)

Appendec: Median costs of appendectomies at three different types of North Carolina hospitals

Description

Data for Exercise 10.60

Usage

Appendec

Arguments

Format

A data frame/tibble with 59 observations on two variables

cost

median costs of appendectomies at hospitals across the state of North Carolina in 1992

region

a vector classifying each hospital as rural, regional, or metropolitan

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
boxplot(cost ~ region, data = Appendec, col = c("red", "blue", "cyan"))
anova(lm(cost ~ region, data = Appendec))

# }

Run the code above in your browser using DataLab