grade_for: For-loop grade answer with given grading method

View source: R/grade.R

grade_forR Documentation

For-loop 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_for(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.