to_env: Convert a list to an environment.

Description Usage Arguments Value

Description

If the list if of length 0, be careful to not use as.environment as it will break.

Usage

1
to_env(x)

Arguments

x

list. The list to convert to an environment.

Value

an environment with keys coming from the names of x and values coming from the respective values of x.


robertzk/refclass documentation built on May 27, 2019, 10:36 a.m.