Description Usage Arguments Details Value Author(s) Examples
These functions invoke a method on an object or class. Usually, one
does not call these functions directly but uses the $
short-cut, instead.
1 2 | qinvoke(x, method, ...)
qinvokeStatic(x, method, ...)
|
x |
The object or class with the method |
method |
The name of the method |
... |
Arguments to pass to the method |
Perhaps the only reason to use one of these functions directly is in the
context of functional iteration, e.g., when calling the same method on
every object in a list with lapply
.
The return value of the method
Michael Lawrence
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.