Degree {BSDA} | R Documentation |
Data for Exercise 2.75
Degree
A data frame with 11 observations on the following 3 variables.
Field
All fields
Business
Education
Engineering
Fine Arts
Foreign Lng
Health
Life Sciences
Physical Sci
Psychology
Social Science
X1970
X1990
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
str(Degree) attach(Degree) Dmat <- as.matrix(Degree[,2:3]) rownames(Dmat) <- Field colnames(Dmat) <- c("1970","1990") Dmat barplot(t(Dmat),beside=TRUE,legend=TRUE,cex.names=.5) detach(Degree) remove(Dmat)