How does R match function arguments by position, name, and partial matching?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how R binds the arguments in a function call to the function's formals by exact name, partial prefix and position. Tests the order of the matching passes, what happens with an ambiguous prefix, and how a dots argument changes which formals can be matched.