service.check_param_number {kidney.epi} | R Documentation |
Check number of parameters and stop function if it exceeds the expected number of parameters
Description
Check number of parameters and stop function if it exceeds the expected number of parameters
Usage
service.check_param_number(param2check, acceptable_number = 1,
custom_message = "")
Arguments
param2check |
List, Character string, Number. Parameter used in a function. |
acceptable_number |
Numeric. Acceptable number of arguments in the list param2check (by default is "1") |
custom_message |
Character string. Custom message to be output. If not defined, the standart output message is provided. nothing to return |
Details
Check number of parameters and stop function if it exceeds the expected number of parameters. Service function that will not be exported to user.
Programming: Boris Bikbov boris@bikbov.ru.
[Package kidney.epi version 1.2.0 Index]