check_is_param {volker}R Documentation

Check whether a parameter value is from a valid set

Description

Check whether a parameter value is from a valid set

Usage

check_is_param(value, allowed, stopit = TRUE, msg = NULL)

Arguments

value

A character value.

allowed

Allowed values.

stopit

Whether to stop execution if the value is invalid.

msg

A custom error message if the check fails.

Value

logical whether method is valid.


[Package volker version 3.0.0 Index]