Learn R Programming

BSDA (version 1.2.0)

Sophomor: Grade point averages, SAT scores and final grade in college algebra for 20 sophomores

Description

Data for Exercise 2.42

Usage

Sophomor

Arguments

Format

A data frame/tibble with 20 observations on four variables

student

identification number

gpa

grade point average

sat

SAT math score

exam

final exam grade in college algebra

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
cor(Sophomor)
plot(exam ~ gpa, data = Sophomor)
# }
# NOT RUN {
library(ggplot2)
ggplot2::ggplot(data = Sophomor, aes(x = gpa, y = exam)) + 
           geom_point()
           ggplot2::ggplot(data = Sophomor, aes(x = sat, y = exam)) + 
           geom_point()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab