select_questions: Select Questions for Exam

Description Usage Arguments Details Value Author(s) Examples

View source: R/select_questions.R

Description

Selects randomly a number of questions from a list of questions. MC options are randomly ordered.

Usage

1

Arguments

x

list, result of parsing file with questions via read_questions

types

list, indicates how many questions should be selected from each type (see example below), default: one each

Details

The...

Value

a list of questions (same format as x)

Author(s)

Ulrich Matter <umatter@protonmail.com>

Examples

1
2
3
myfile <- "data/exam_questions.xlsx"
my_questions <- read_questions(myfile)
select_questions(my_questions)

umatter/examr documentation built on Oct. 25, 2020, 8:12 a.m.