Engineer | R Documentation |
Data for Example 10.7
Engineer
A data frame/tibble with 51 observations on two variables
salary (in $1000) 10 years after graduation
a factor with levels A
, B
, and C
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(salary ~ university, data = Engineer,
main = "Example 10.7", col = "yellow")
kruskal.test(salary ~ university, data = Engineer)
anova(lm(salary ~ university, data = Engineer))
anova(lm(rank(salary) ~ university, data = Engineer))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.