powered by
Extract the values from each entry in a list of vectors at a specific index
listExtract(x, pos)
A list, each item of the list should have equal length.
A integer, the position to extract from each entry in the list.
A list.
# NOT RUN { listExtract(list(col1 = c(1, 2, 3, 4, 5), col2 = c("a", "b", "c", "d", "e")), 3) # }
Run the code above in your browser using DataLab