grade: Grade answer with given grading method

View source: R/grade.R

gradeR Documentation

Grade answer with given grading method

Description

there must be studentValues and correctValues two list of answer object values proccessed from student Rmds and teacher Rmd

Usage

grade(targetLabel, gradingMethod, whichCorrectAnsvalue = 1)

Arguments

targetLabel

A character, such as "ans11".

gradingMethod

A function with three arguments: student answer value, correct answer value, errorMsg

whichCorrectAnsvalue

An number, default=1, represents which correct answer to use

Value

A list of grades

Examples

none

tpemartin/rmdgrader documentation built on Nov. 22, 2022, 6:39 p.m.