check_foption: Check an option

Description Usage Arguments Details Value

View source: R/tools.R

Description

Take a string which is an option, check if the string is among a given set of options, then stop the program if option is wrong, or return the right and complete option.

Usage

1

Arguments

opt

a string, that is a possible otion.

all

a vector of strings, that iS a set of possible options.

Details

None.

Value

Stop the program, or return a string which is a right option.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.