generic_assignment: Assign environment variables to a list

View source: R/generic_assignment.R

generic_assignmentR Documentation

Assign environment variables to a list

Description

A function that creates a list with each element in the environment as a list slot

Usage

generic_assignment(list__, element_type, element_value)

Arguments

list__
  • the list you want to affix objects to slots in

element_type
  • a vector with the names of the slots you want the value to be assigned to in the list

element_value
  • a vector with the values of the slots you are adding to the list

Value

the list with added slots

See Also

magrittr::inset2()


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