| Heat {BSDA} | R Documentation |
Data for Exercise 1.29
Heat
A data frame with 6 observations on the following 4 variables.
FuelElectricity Fuel Oil LP bottled gas Other Utility gas WoodReservAll.USNot.ReseKitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
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)