Learn R Programming

BSDA (version 1.01)

Educat: Crime rates versus the percent of the population without a high school degree

Description

Data for Exercise 2.41

Usage

Educat

Arguments

Format

A data frame with 51 observations on the following 3 variables.

State

a factor with levels Alabama Alaska Arizona Arkansas California Colorado Connecticut DC Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missour Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming

nodegree

a numeric vector

crime

a numeric vector

Examples

Run this code
# NOT RUN {
str(Educat)
attach(Educat)
plot(nodegree,crime,xlab="No Crime",ylab="Violent Crime Rate per 100,000")
detach(Educat)
# }

Run the code above in your browser using DataLab