Toxic {BSDA} | R Documentation |
Hazardous waste sites near minority communities
Description
Data for Exercises 1.55, 5.08, 5.109, 8.58, and 10.35
Usage
Toxic
Format
A data frame/tibble with 51 observations on five variables
- state
U.S. state
- region
U.S. region
- sites
number of commercial hazardous waste sites
- minority
percent of minorities living in communities with commercial hazardous waste sites
- percent
a numeric vector
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
hist(Toxic$sites, col = "red")
hist(Toxic$minority, col = "blue")
qqnorm(Toxic$minority)
qqline(Toxic$minority)
boxplot(sites ~ region, data = Toxic, col = "lightgreen")
tapply(Toxic$sites, Toxic$region, median)
kruskal.test(sites ~ factor(region), data = Toxic)
[Package BSDA version 1.2.2 Index]