powered by
This function extracts the first value from an enumerated element.
val1(elem)
The first value in the enumerated element.
An enumerated element.
enumerateit()
# Extract the first value from an enumerated element elem <- list(1, "a", "b") val1(elem)
Run the code above in your browser using DataLab