Description Usage Arguments Value Examples
For a given function and call, return a list of class 'functionCall' which can be hashed to provide a unique identifier for the function and parameters used for this call.
1 | functionCall(f = sys.function(sys.parent()), call = sys.call(sys.parent()))
|
f |
function, defaults to the containing function |
call |
call, default to the containing call |
functionCall, a hashable form of the function call information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # my example function
my.function <- function (x, y) x+y
# create a new function call
my.functionCall <- functionCall(my.function, call("my.function", 10, 10))
# the function and arguments are now available
my.functionCall$f
my.functionCall$args
# using the default argument values to get the function call of the containing function
my.function2 <- function (x, y) functionCall()
my.functionCall2 <- my.function2(10, 10)
# the function and arguments are now available
my.functionCall2$f
my.functionCall2$args
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.