This data set contains teacher salaries from 2009-2010 for 71 teachers employed by the St. Louis Public School in Michigan, as well as several covariates.
Usage
data(teacher)
Format
A data frame with 71 observations on the following 8 variables.
id
Identification code for each teacher, assigned randomly.
degree
Highest educational degree attained: BA (bachelor's degree) or MA (master's degree).
fte
Full-time enrollement status: full-time 1 or part-time 0.5.
years
Number of years employed by the school district.
base
Base annual salary, in dollars.
fica
Amount paid into Social Security and Medicare per year through the Federal Insurance Contribution Act (FICA), in dollars.
retirement
Amount paid into the retirement fund of the teacher per year, in dollars.
total
Total annual salary of the teacher, resulting from the sum of base salary + fica + retirement, in dollars.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(OIdata)
Loading required package: RCurl
Loading required package: bitops
Loading required package: maps
# maps v3.1: updated 'world': all lakes moved to separate new #
# 'lakes' database. Type '?world' or 'news(package="maps")'. #
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/OIdata/teacher.Rd_%03d_medium.png", width=480, height=480)
> ### Name: teacher
> ### Title: Teacher Salaries in St. Louis, Michigan
> ### Aliases: teacher
> ### Keywords: teacher salary Michigan degree education datasets
>
> ### ** Examples
>
> data(teacher)
> boxplot(base ~ degree, teacher)
>
> plot(base ~ years, teacher, pch = 16)
> cond1 <- teacher$degree == "MA"
> points(teacher$years[cond1], teacher$base[cond1],
+ pch = 16, col = "orange")
>
>
>
>
>
> dev.off()
null device
1
>