Unused arguments in R

后端 未结 5 1687
暖寄归人
暖寄归人 2020-12-25 12:22

In R, is it possible to have a the software ignore the fact that there are unused arguments defined when a module is run?

For example, I have a module <

5条回答
  •  悲哀的现实
    2020-12-25 13:10

    Change the definition of multiply to take additional unknown arguments:

    multiply <- function(a, b, ...) {
      # Original code
    }
    

提交回复
热议问题