R/utils.R
util_extract_list_element.Rd
Extract a trait element from the definitions$traits$elements
util_extract_list_element(i, my_list, var)
A value within the definitions$traits$elements list which refers to types of traits
The list that contains the element we're interested in (i.e. definitions$traits$elements)
The type of variable of a trait
The element/properties of a trait
if (FALSE) {
util_extract_list_element(1, definitions$traits$elements, "units")
}