enclosing_env {pryr} | R Documentation |
Find the environment that encloses of a function.
Description
This is a wrapper around environment
with a
consistent syntax.
Usage
enclosing_env(f)
Arguments
f |
The name of a function. |
Examples
enclosing_env("plot")
enclosing_env("t.test")
[Package pryr version 0.1.6 Index]