Take the 2-minute tour ×

What does ... = ... mean as a function parameter? I saw this in some R source code. I understand that ... is additional arguments, but not sure what the equals does?

share|improve this question
Do you have any example? –  kohske Jan 4 '12 at 2:36
sorry, this was used in a function call, not in the function definition. PerformanceAnalytics:::SharpeRatio –  SFun28 Jan 4 '12 at 3:10
add comment

1 Answer

up vote 18 down vote accepted

It is superfluous and the same as .... Probably the author meant that the ... of the called function should equal to the ... of the calling function, but that's the same as using just ... (in fact the ...=... construct may be confusing since it may invoke the idea that arguments other than ... of the called function won't be used which is not true).

share|improve this answer
add comment

Your Answer


