Learn R Programming

settings (version 0.2.7)

inlist: Option checkers

Description

These functions return a function that is used by the options manager internally to check whether an option set by the user is allowed.

Usage

inlist(...)

inrange(min = -Inf, max = Inf)

Arguments

...

comma-separated list of allowed values.

min

minimum value (for numeric options)

max

maximum value (for numeric options)

See Also

options_manager for examples.