powered by
Data for Example 10.6
Hostile
A data frame/tibble with 135 observations on two variables
a factor with the location of the high school student (Rural, Suburban, or Urban)
Rural
Suburban
Urban
the score from the Hostility Level Test
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { boxplot(hostility ~ location, data = Hostile, col = c("red", "blue", "green")) kruskal.test(hostility ~ location, data = Hostile) # }
Run the code above in your browser using DataLab