Description Usage Arguments Value Examples
Students' grades in labs and quizzes will first be adjusted upwards to meet or exceed benchmarks for labs and quizzes. However, if the average grade for the course is still below the course benchmark, we will continue to adjust upwards each lab / quiz until this benchmark is reached.
1 2 3 4 5 6 7 8 | suggest_grade_adjustment(
courses,
grades,
id,
benchmark_course = 90,
benchmark_lab = 85,
benchmark_quiz = 85
)
|
courses |
A dataframe containing component weights for each course |
grades |
A dataframe containing grades for students |
id |
A string representing the course ID for which grades should be adjusted. |
benchmark_course |
A double value representing the benchmark of which the average grade for the whole course must meet or exceed. Defaults to 90. |
benchmark_lab |
A double value representing the benchmark of which the average grade for each lab must meet or exceed. Defaults to 85. |
benchmark_quiz |
A double value representing the benchmark of which the average grade for each quiz must meet or exceed. Defaults to 85. |
A dataframe containing adjusted grades for all students in a course.
1 2 3 4 5 6 7 8 9 10 11 12 | grades <- data.frame(
course_id = c("511"),
student_id = c("tom"),
lab1 = c(100),
lab2 = c(80)
)
courses <- data.frame(
course_id = c("511"),
lab1 = c(0.45),
lab2 = c(0.55)
)
suggest_grade_adjustment(courses, grades, id = "511")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.