both.ok: Will allow either marked or unmarked answers for a particular...

Description Usage Arguments Value

View source: R/both_ok.R

Description

Uses the exam answers read in from DataLink software, and import using read.xlsx function, and the grades output from grade.earned() or grade.missed() functions.

Usage

1
both.ok(lead, grades, exam, answer.value = 0.6)

Arguments

lead

The multiple choice question and answer for which either marked or unmarked would be acceptable. This should be a character string with the question number immediately followed by the lead. For example, if either answer (marked or unmarked) is acceptable for lead B of question 3, the string should be "3B", or the argument should be lead = "3B". This function only works for one lead.

grades

Output grades dataframe from grade.earned() or grade.missed() functions

exam

Answer matrix from DataLink Excel format export

answer.value

a single value or a vector equal to number of answers assigning values to each possible response

Value

grades dataframe is updated


KirtOnthank/ScanTools documentation built on Feb. 4, 2020, 1:32 p.m.