Learn R Programming

BSDA (version 1.01)

Degree: Percent of bachelor's degrees awarded women in 1970 versus 1990

Description

Data for Exercise 2.75

Usage

Degree

Arguments

Format

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

Field

a factor with levels All fields Business Education Engineering Fine Arts Foreign Lng Health Life Sciences Physical Sci Psychology Social Science

X1970

a numeric vector

X1990

a numeric vector

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab