import_question: Import Your Own Question

Description Usage Arguments Value Examples

Description

Import Your Own Question

Usage

1

Arguments

file

a .txt file that has questions (preceded by a tab and a *Q*) and answer choices (preceded by a tab and a *A*, with correct answer choice ending in %ans)

Value

a vector with first element as question, second element as correct answer, and other elements as other answer choices.

Examples

1
2
# for a .txt file, call:
# import_question(file)

kristynpantoja/statexams documentation built on June 3, 2019, 5:25 a.m.