Rural | R Documentation |
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
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)
## Not run:
library(dplyr)
Rural <- dplyr::mutate(Rural, r = rank(score))
Rural
t.test(r ~ area, data = Rural)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.