Description Usage Format References Examples
Salaries for engineering graduates 10 years after graduation
1 |
A data frame with 51 observations on the following 2 variables:
salary
(salary 10 years after graduation in thousands of dollars)
university
(one of three different engineering universities)
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
1 2 3 4 5 6 7 | ggplot(data = ENGINEER, aes(x = university, y = salary, fill = university)) +
geom_boxplot() + guides(fill = "none") + scale_fill_brewer() +
labs(y = "salary 10 years after graduation \n in thousands of dollars")
# Violin Plots
ggplot(data = ENGINEER, aes(x = university, y = salary, fill = university)) +
geom_violin() + guides(fill = "none") + scale_fill_brewer() +
labs(y = "salary 10 years after graduation \n in thousands of dollars")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.