Heat {BSDA}R Documentation

Primary heating sources of homes on indian reservations versus all households

Description

Data for Exercise 1.29

Usage

Heat

Format

A data frame with 6 observations on the following 4 variables.

Fuel
a factor with levels Electricity Fuel Oil LP bottled gas Other Utility gas Wood
Reserv
a numeric vector
All.US
a numeric vector
Not.Rese
a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Heat)
attach(Heat)
MAT <- cbind(Reserv, All.US, Not.Rese) 
row.names(MAT) <- c("Utility Gas","LP bottled Gas","Electricity",
"Fuel Oil","Wood","Other Fuel")
MAT
barplot(t(MAT),beside=TRUE,legend=TRUE,main="Heating of American Indian Homes")
sum(Reserv)
sum(All.US)
sum(Not.Rese)
detach(Heat)

[Package BSDA version 0.1 Index]