Description Usage Arguments Value Functions
Generate one question.
1 2 3 4 5 6 7 8 9 10 11 | fob_int(question, field_name = "", prompt = NULL)
fob_num(question, field_name = "", prompt = NULL)
fob_date(question, field_name = "", format = "%Y-%m-%d", prompt = NULL, ...)
fob_char(question, field_name = "", prompt = NULL)
fob_yorn(question, field_name = "", prompt = "Enter [Y]es or [N]o:", ...)
fob_bool(question, field_name = "", prompt = "Enter [T]RUE or [F]ALSE:", ...)
|
question |
The question to be asked. |
field_name |
Name of the field (optional). |
prompt |
The string printed when prompting the user for input (see |
format |
Date format. |
... |
Further arguments to be passed to |
one integer.
fob_num
: one numeric.
fob_date
: one date.
fob_char
: a character.
fob_yorn
: TRUE
for yes and FALSE
for no.
fob_bool
: one boolean/logical (i.e. TRUE
or FALSE
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.