Concept Flow - Default argument values
Function call
Check arguments
Argument provided?
Yes→Use provided value
No
→Use default value
Run function body with arguments
Return result
When a function is called, R checks if each argument is given. If not, it uses the default value set in the function definition.