R/BSDA-package.R
Sophomor.Rd
Data for Exercise 2.42
Sophomor
A data frame/tibble with 20 observations on four variables
identification number
grade point average
SAT math score
final exam grade in college algebra
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
cor(Sophomor)
#> student gpa sat exam
#> student 1.00000000 0.03318292 0.00558619 0.06689427
#> gpa 0.03318292 1.00000000 0.90061435 0.86065205
#> sat 0.00558619 0.90061435 1.00000000 0.82544464
#> exam 0.06689427 0.86065205 0.82544464 1.00000000
plot(exam ~ gpa, data = Sophomor)
if (FALSE) {
library(ggplot2)
ggplot2::ggplot(data = Sophomor, aes(x = gpa, y = exam)) +
geom_point()
ggplot2::ggplot(data = Sophomor, aes(x = sat, y = exam)) +
geom_point()
}