check_options: Utility for checking options

Description Usage Arguments Value

View source: R/helpers.R

Description

Utility for checking options

Usage

1
check_options(x, x_name, options)

Arguments

x

the specified value

x_name

name of the specified value

options

allowed options

Value

error if x is not in options. Otherwise returns x.


MMUPHin documentation built on April 9, 2021, 6:01 p.m.