Degree | R Documentation |
Data for Exercise 2.75
Degree
A data frame/tibble with 1064 observations on two variables
a factor with levels Health
,
Education
, Foreign Language
, Psychology
, Fine Arts
,
Life Sciences
, Business
, Social Science
, Physical Sciences
,
Engineering
, and All Fields
a factor with levels 1970
and 1990
U.S. Department of Health and Human Services, National Center for Education Statistics.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~field + awarded, data = Degree)
T1
barplot(t(T1), beside = TRUE, col = c("red", "skyblue"), legend = colnames(T1))
rm(T1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.