radio_choice: Create a radio choice

Description Usage Arguments Value

Description

A radio choice allows the user to select one from a few

Usage

1
2
  radio_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 with comments. The component names are chosen from among the wrong values. When matched, that is used a student comment.

hint

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

...

passed to hint

Value

text to add to a page


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