funcinfo {lazy.symbolic} | R Documentation |
Returns the body of a function
Description
Returns the body of a function
Usage
funcinfo(expr, funcname, print = 0, debug = 0)
Arguments
expr |
stging |
funcname |
Name of the function to look for |
print |
= 1 to print the result |
debug |
= 1 to print the intermediate result |
Details
It is assumed that " because "
Value
A list of:
loc location of the beginning of the function locl Location of the left paren. locr Location of the right paren. body The body of the function.
Examples
funcinfo("diag(D)", funcname="diag")
funcinfo("T-t(T)", funcname="t")
funcinfo("Adiag(D)", funcname="diag")
[Package lazy.symbolic version 1.0.0.20250425 ]