[R] Passing a missing argument
lindelof at ieee.org
Sun May 27 21:26:59 CEST 2007
Is there a way to explicitly set an argument to a function call as
In this call I want to set a value to the endpoints argument only if the
`limits' variable has been set, and leave the defaults otherwise.
The only way I could do it is thus:
if (!missing(limits)) histogram(foo,bar,endpoints=limits)
Is there a cleaner way?
More information about the R-help