Drug | R Documentation |
Data for Example 7.15
Drug
A data frame/tibble with 28 observations on two variables
number of trials to master a task
a factor with levels control
and experimental
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(trials ~ group, data = Drug,
main = "Example 7.15", col = c("yellow", "red"))
wilcox.test(trials ~ group, data = Drug)
t.test(rank(trials) ~ group, data = Drug, var.equal = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.