powered by
Data for Exercise 10.18
Laminect
A data frame/tibble with 138 observations on two variables
a character vector indicating the area of the hospital with Rural, Regional, and Metropol
Rural
Regional
Metropol
a numeric vector indicating cost of a laminectomy
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { boxplot(cost ~ area, data = Laminect, col = topo.colors(3)) anova(lm(cost ~ area, data = Laminect)) # }
Run the code above in your browser using DataLab