checkgroup_choice: Ask question with a checkbox group

Description Usage Arguments Value

Description

A checkbox group allows user to select one or more from a few

Usage

1
2
  checkgroup_choice(page, x, value, inline = TRUE,
    linebreak = TRUE, comment, hint, ...)

Arguments

page

Page instance

x

list of items to choose from

value

one of the items

inline

logical. If TRUE horizontal, else vertical layout

linebreak

logical. Add new line at end (br tag)

comment

Optional. A named list. The names correspond to the student's choice. In this case, sorted then combined with "::". If the student choice matches this, then that comment will be given as to why the problem is wrong.

hint

Optional. A hint (in HTML) to the user popped up when the user hovers

...

passed to hint

Value

text to add to a page


jverzani/questionr documentation built on May 20, 2019, 5:20 a.m.