Undergrad {BSDA} | R Documentation |
Data for Exercise 1.15
Undergrad
A data frame with 100 observations on the following 6 variables.
Gender
Female
Male
Major
Accounting
Biology
Chemistry
English
Geology
History
Math
Music
Physics
Psychology
Sociology
Class
Freshman
Junior
Senior
Sophomore
GPA
SAT
Drops
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
str(Undergrad) attach(Undergrad) stripchart(GPA~Class,method="stack",col=c("blue","red","green","lightblue"), pch=19,main="GPA versus Class") stripchart(GPA~Gender,method="stack",col=c("red","blue"),pch=19, main="GPA versus Gender") stripchart(SAT~Drops,method="stack",col=c("blue","red","green","lightblue"), pch=19,main="SAT versus Drops") stripchart(Drops~Gender,method="stack",col=c("red","blue"),pch=19, main="Drops versus Gender") detach(Undergrad)