powered by
Data for Example 7.16
Rural
A data frame/tibble with 33 observations on two variables
child's social adjustment score
character variable with values city and rural
city
rural
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(score ~ area, data = Rural) wilcox.test(score ~ area, data = Rural) if (FALSE) { library(dplyr) Rural <- dplyr::mutate(Rural, r = rank(score)) Rural t.test(r ~ area, data = Rural) }
Run the code above in your browser using DataLab