Independent | R Documentation |
Data for Exercise 7.41
Independent
A data frame/tibble with 46 observations on two variables
a numeric vector
a factor with levels A
and B
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
qqnorm(Independent$score[Independent$group=="A"])
qqline(Independent$score[Independent$group=="A"])
qqnorm(Independent$score[Independent$group=="B"])
qqline(Independent$score[Independent$group=="B"])
boxplot(score ~ group, data = Independent, col = "blue")
wilcox.test(score ~ group, data = Independent)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.