Get a given attribute from a list of variables
getGivenAttribute.Rd
Get a given attribute from a list of variables
Arguments
- list_var
A list of variables (already initialized with init_variable)
- attribute
A string specifying the attribute to retrieve in all occurrences of the list
Examples
getGivenAttribute(init_variable(), "level")
#> Variable name should not contain digits, spaces, or special characters.
#> If any of these are present, they will be removed from the variable name.
#> $myVariable
#> [1] 2
#>