Learn R Programming

spartan (version 3.0.2)

get_argument_correct_case: Tries upper and lower case names for input arguments

Description

The method checking relies on the user calling the variables the right name. If they don't, an error is produced. This helper function checks they haven't just used lower case arguments, in which case the lower case is checked

Usage

get_argument_correct_case(arguments, argName)

Arguments

arguments

List of the arguments provided to the called function

argName

Name of the argument to return

Value

The evaluated input value of this argument