Skip to contents

A noul question has two answers, true and false. The model returns a probability for each.

Usage

question_noul(instructions, true = NULL, false = NULL)

Arguments

instructions

A string: the statement or question to decide.

true, false

Optional strings that describe the answers true and false: each is one string, or NULL (the default) or NA for no description.

Value

A question_noul object with the properties instructions and answers.

See also

question_choice() for more than two answers, question_score() for ordered levels, and decide() to ask the question.

Other questions: question_choice(), question_score()

Examples

question_noul("Is the surface wet?")
#> <decisions::question_noul> Is the surface wet?
#> * true
#> * false
question_noul("Is the surface wet?", true = "Liquid is visible.")
#> <decisions::question_noul> Is the surface wet?
#> * true: Liquid is visible.
#> * false