Description Usage Format Examples
A dataset from a mid-western US trucking company on annual earnings of its employees in 2007. Datasets like this are used in audits by the Federal Government to look for signs of discrimination.
1 |
A data frame Trucking_jobs
with 129 rows and 11 variables.
sex
The employee's sex: M or F
earnings
Annual earnings, in dollars. Hourly wages have been converted to a full-time basis.
age
The employee's age, in years.
title
The employee's job title.
hiredyears
How long the employee has been working for the company.
1 | mod_1 = lm(earnings ~ age + hiredyears + sex, data = Trucking_jobs)
|
Loading required package: mosaicCore
Loading required package: splines
Loading required package: dplyr
Attaching package: ‘dplyr’
The following objects are masked from ‘package:mosaicCore’:
count, tally
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Attaching package: ‘mosaicModel’
The following objects are masked from ‘package:mosaicCore’:
ci.mean, ci.median, ci.sd, coverage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.