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