Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Board

Incomes of board members from three different universities


Description

Data for Exercise 10.14

Usage

Board

Format

A data frame/tibble with 7 observations on three variables

salary

1999 salary (in $1000) for board directors

university

a factor with levels A, B, and C

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

boxplot(salary ~ university, data = Board, col = c("red", "blue", "green"), 
        ylab = "Income")
tapply(Board$salary, Board$university, summary)
anova(lm(salary ~ university, data = Board))
## Not run: 
library(dplyr)
dplyr::group_by(Board, university) %>%
         summarize(Average = mean(salary))

## End(Not run)

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.