next up previous
Next: Opening a Graphics Window Up: Producing Graphics in S-PLUS Previous: Introduction

The Education Dataset

To follow along with the handout, copy the file /.../S-Tutorials/DatasetDir/education.dat into your home directory, then start S-PLUS.

This file contains data about school expenditures for each of the 50 states and the District of Columbia. The variables are school expenditures in 1970 (SE70), each state's citizens' average income in 1968 (PI68), school age population per capita in 1969 (Y69 ), urban population per capita in 1970 (Urban70), and two variables for the state's location: Region (general) and Locale (specific). We are interested in exploring the relationships between SE70 and the other variables.

Read this data set into a data frame and attach to it (data frames are explained in detail in another handout).

> edu <- read.table("education.dat", header=T)
> attach(education)



Brian Junker 2002-08-26