match.generic.call | R Documentation |
Some generic functions have different arguments for different classes. In such cases, match.call() function returns wrong results. This function finds actual generic function called for focal class and matches call with the function. If call is not a call for non-generic function, matching is done by match.call() function.
match.generic.call(call, envir, package = "")
call |
a call to be matched. |
envir |
an environment to evaluate call. |
package |
a character string representing package name of the funciton. |
If an object has more than two classes, the first class in the result of class() with generic function is used.
matched fully-named call.
model.adapter:::match.generic.call(
substitute(hist(1:10)), environment()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.