Advanced R
Q91 / 100

What is the purpose of "match.call()" inside a function?

Correct! Well done.

Incorrect.

The correct answer is B) It returns the call to the current function with all arguments matched to their formal parameter names, useful for introspection and error messages

B

Correct Answer

It returns the call to the current function with all arguments matched to their formal parameter names, useful for introspection and error messages

Explanation

match.call() returns the function call as it was made, with arguments matched and named according to the function's formal arguments, often used for logging or constructing informative messages.

Progress
91/100