The function name is usually the name of the object that has been assigned while creating the function itself as follows:
myFun <- function(obj){…}
Here, the name of function is myFun. Now, create the function and define a use method as follows:
myFun <- function(obj){UseMethod("robSum")}
In this case, the function can be called using the name robSum. This way, you can hide the original code of the function.