powered by
Data for Exercise 10.60
Appendec
A data frame/tibble with 59 observations on two variables
median costs of appendectomies at hospitals across the state of North Carolina in 1992
a vector classifying each hospital as rural, regional, or metropolitan
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# 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