fob_int: Generate one question.

Description Usage Arguments Value Functions

View source: R/fob_int.R

Description

Generate one question.

Usage

 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:", ...)

Arguments

question

The question to be asked.

field_name

Name of the field (optional).

prompt

The string printed when prompting the user for input (see readline()).

format

Date format.

...

Further arguments to be passed to generate_form_pattern().

Value

one integer.

Functions


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