R Tip: Force Named Arguments

Win-Vector Blog 2018-02-22

Summary:

R tip: force the use of named arguments when designing function signatures. R’s named function argument binding is a great aid in writing correct programs. It is a good idea, if practical, to force optional arguments to only be usable by name. To do this declare the additional arguments after “...” and enforce that none … Continue reading R Tip: Force Named Arguments

Link:

http://www.win-vector.com/blog/2018/02/r-tip-force-named-arguments/

From feeds:

Statistics and Visualization » Win-Vector Blog

Tags:

Authors:

John Mount

Date tagged:

02/22/2018, 12:36

Date published:

02/22/2018, 09:05