explodeMC: Explode a Multiple Choice interaction into a data frame

Description Usage Arguments Details Value Examples

View source: R/MC.R

Description

Explode a Multiple Choice interaction into a data frame

Usage

1
explodeMC(resp)

Arguments

resp

The response column from TAO or a MCObject from makeMC()

Details

This function is used when a Multiple Choice interaction allows to choose more than one option

Value

Returns a data.frame

Examples

1
2
mcresp<-c("['choice_1'; 'choice_5']","['choice_5'; 'choice_6'; 'choice_7']")
explodeMC(mcresp)

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