enclosing_env: Find the environment that encloses of a function.

Description Usage Arguments Examples

View source: R/enclosing.R

Description

This is a wrapper around environment with a consistent syntax.

Usage

1

Arguments

f

The name of a function.

Examples

1
2
enclosing_env("plot")
enclosing_env("t.test")

pryr documentation built on May 2, 2019, 9:58 a.m.