Get the environment

env(x)

# S3 method for class 'formula'
env(x)

Arguments

x

object to get environoment from

Value

Environment

Details

S3 returns the environment associated with an object.

For a formula object, `env` returns the environment in the `.Environment` attribute.

Examples


env( lhs ~ rhs ) 
#> <environment: 0x55d85d190388>