exam_grades | R Documentation |
Grades on three exams and overall course grade for 233 students during several years for a statistics course at a university.
exam_grades
A data frame with 233 observations, each representing a student.
Semester when grades were recorded.
Sex of the student as recorded on the university registration system: Man or Woman.
Exam 1 grade.
Exam 2 grade.
Exam 3 grade.
Overall course grade.
library(ggplot2) library(dplyr) # Course grade vs. each exam ggplot(exam_grades, aes(x = exam1, y = course_grade)) + geom_point() ggplot(exam_grades, aes(x = exam2, y = course_grade)) + geom_point() ggplot(exam_grades, aes(x = exam2, y = course_grade)) + geom_point() # Semester averages exam_grades %>% group_by(semester) %>% summarise(across(exam1:course_grade, mean, na.rm = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.