Bones | R Documentation |
Data for Example 7.22
Bones
A data frame/tibble with 70 observations on two variables
bone density measurements
a factor with levels active
and nonactive
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
t.test(density ~ group, data = Bones, alternative = "greater")
t.test(rank(density) ~ group, data = Bones, alternative = "greater")
wilcox.test(density ~ group, data = Bones, alternative = "greater")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.