schoice: Single choice question

View source: R/moodle.R

schoiceR Documentation

Single choice question

Description

Use this function in a cloze inline chunk to describe a single choice question.

Usage

schoice(opts, sol)

Arguments

opts

The options to choose from (character vector)

sol

The correct solution (the correct value from opts, or the position of the correct value)


numbats/teachr documentation built on March 26, 2022, 10:34 p.m.