Learn R Programming

rqti (version 1.0.0)

create_question_object: Create rqti S4 AssessmentItem Object from Rmd

Description

Generates an rqti S4 AssessmentItem object (SingleChoice, MultipleChoice, Essay, Entry, Ordering, OneInRowTable, OneInColTable, MultipleChoiceTable, DirectedPair) from an Rmd file.

Usage

create_question_object(file)

Value

One of the rqti S4 AssessmentItem objects: SingleChoice, MultipleChoice, Essay, Entry, Ordering, OneInRowTable, OneInColTable, MultipleChoiceTable, or DirectedPair.

Arguments

file

A string representing the path to an Rmd file.

Examples

Run this code
if (FALSE) { # interactive()
create_question_object("file.Rmd")
}

Run the code above in your browser using DataLab