Whenever the function is called, R executes the statements in the curly braces, and then outputs the contents of VALUE to the user. As you can see, when you type the name of a function at the command ...Whenever the function is called, R executes the statements in the curly braces, and then outputs the contents of VALUE to the user. As you can see, when you type the name of a function at the command line, R prints out the underlying source code that we used to define the function in the first place. The doubleMax() function identifies the largest value in the inputs, by passing all the user inputs to the max() function, and then doubles it.