service.check_param_arguments: Check the argument of a given parameter which set by user and...

Description Usage Arguments Details

View source: R/service.general.R

Description

Check the argument of a given parameter which set by user and stop function if the value set by user is not among the possible values of the argument

Usage

1
2
service.check_param_arguments(param2check, possible_params,
  custom_message = "")

Arguments

param2check

List, Character string, Number. Parameter used in a function.

possible_params

List. List of possible values of the parameter arguments

custom_message

Character string. Custom message to be output. If not defined, the standart output message is provided. nothing to return

Details

Check the argument of a given parameter whichset by user and stop function if the value set by user is not among the possible values of the argument. Service function that will not be exported to user.

Programming: Boris Bikbov boris@bikbov.ru.


kidney.epi documentation built on March 13, 2020, 3:16 a.m.