assign_values: Assign environment variables to a list

View source: R/assign_values.R

assign_valuesR Documentation

Assign environment variables to a list

Description

A function that may be called by lapply() to assign all of the variables in the given environment to slots within a list.

Usage

assign_values(X, function_env, return_list)

Arguments

X
  • the name of the variable in function_env to assign to the list slot named X

function_env
  • the environment in which you want the function to search for the variable named X

return_list
  • the list item you want to add the value of X to in the slot named X

See Also

base::get()


cstawitz/RMAS documentation built on Oct. 6, 2022, 3:31 a.m.