env: Get the environment

Description Usage Arguments Details Value Examples

Description

Get the environment

Usage

1
2
3
4
env(x)

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

Arguments

x

object to get environoment from

Details

S3 returns the environment associated with an object.

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

Value

Environment

Examples

1
env( lhs ~ rhs ) 

decisionpatterns/formula.tools documentation built on May 15, 2019, 1:56 a.m.