Displaying 1 result from an estimated 1 matches for "missoth".
Did you mean:
misset
2001 Feb 14
0
No subject
...p*, 3, 4, value = "IS") :
> unused argument(s) (value ...)
Question:
=======
Is there a reference to the obseravation, that in R, missing parameters of
a function can be "declared" using NULL, as in
xxx <- function (x, miss=NULL) {
otherfunction <- function (x, missOther=NULL) { .. }
otherfunction(x, miss)
}
The solution of R is preferable to S+3.4's, since it allows functions
within functions to have missing parameters without the (ugly) construct:
xxx <- function (x, miss) {
otherfunction <- function (x, miss) { .. }
if (missing(miss)) otherfunc...