scoreMC: Score single or multiple choice objects

Description Usage Arguments Value Examples

View source: R/MC.R

Description

Score single or multiple choice objects

Usage

1
2
3
scoreMC(mc, correct = c())

scoreSC(mc, correct = c())

Arguments

mc

a multiple or single choice object

correct

the correct response(s)

Value

returns a vector of scores

Examples

1
2
3
mcresp<-c("['choice_1'; 'choice_5']","['choice_5'; 'choice_6']")
mc<-makeMC(mcresp)
scoreMC(mc,correct=c("choice_1","choice_5"))

openPCI/OpenPCIScoring documentation built on June 10, 2021, 1:18 p.m.