Functions | R Documentation |
Find function definitions inside R expressions.
FunctionDefinitions(expr, ...) ## S3 method for class 'expression' FunctionDefinitions(expr, as.data.table=TRUE, keep.code=TRUE, ...) ## S3 method for class 'package.code' FunctionDefinitions(expr, as.data.table=TRUE, ...) FunctionCalls(expr, ignore.common=TRUE, ...) ## S3 method for class 'expression' FunctionCalls(expr, ignore.common=TRUE, ...) ## S3 method for class 'package.code' FunctionCalls(expr, ignore.common=TRUE, ...) Globals(expr, ...) ## S3 method for class 'expression' Globals(expr, ...) ## S3 method for class 'package.code' Globals(expr, ...)
expr |
R expression object. |
as.data.table |
Converts result as a data.table if TRUE. |
keep.code |
If converting results as a data.table,kKeeps source code reference if TRUE. |
ignore.common |
If TRUE ignores common function calls like
|
... |
Further arguments to pass to method implementation. |
FunctionDefinitions
returns a list or data.table
containing the description of all functions found in expr
.
FunctionCalls
returns a data.table
with all calls found
in expr
and Globals
a data.table
listing all
globals variables defined.
Maëlick Claes <himself@maelick.net>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.