Learn R Programming

formula.tools (version 1.7.1)

env: Get the environment

Description

Get the environment

Usage

env(x)

# S3 method for 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

Run this code
# NOT RUN {
env( lhs ~ rhs ) 

# }

Run the code above in your browser using DataLab