fob_among: A binary question to be answered by Yes or No.

Description Usage Arguments Value Functions

View source: R/fob_among.R

Description

A binary question to be answered by Yes or No.

Usage

1
2
3
4
5
fob_among(question, choices, field_name = "", output = "choice", ...)

fob_month(question, field_name = "", output = c("choice", "id"), ...)

fob_weekday(question, field_name = "", output = c("choice", "id"), ...)

Arguments

question

The question to be asked.

choices

A vector of choices.

field_name

Name of the field (optional).

output

Either "choice" or "id".

...

further arguments to be passed to generate_form_choices().

Value

Return the choice selected either as the choice value or its identifier (an integer).

Functions


inSileco/formbuildr documentation built on Jan. 1, 2021, 4:20 a.m.