Skip to contents

This function combines student's answers, reference answers, and a maximum number of points to grade a particular set of questions.

Usage

gradeR(student_answers, reference_answers, maximum_grade = 10)

Arguments

student_answers

Answers provided by the student in the form of a list that matches the order as the one in the reference_answers

reference_answers

Reference answers constructed using the files under /tests

maximum_grade

Maximum grade