Displaying 1 result from an estimated 1 matches for "overloadedfunction1".
Did you mean:
overloadedfunction2
2005 Apr 20
5
Overloading methods in R
...r partially true, is there any extra
packages to handle overloading in R?
(3) Assuming (1) is TRUE and (2) is FALSE, can anyone provide some advice on
developing some function that understand what the arguments are and then
calls the right overloaded function?
It would be something like this:
overloadedFunction1 <- function(x) {};
overloadedFunction2 <- function(x, y) {};
theFunction <- function(...)
{
# How to identify ... and call the right overloaded function?
}