listExtract | R Documentation |
Extract the values from each entry in a list of vectors at a specific index
listExtract(x, pos)
x |
A list, each item of the list should have equal length. |
pos |
A integer, the position to extract from each entry in the list. |
A list.
listExtract(list(col1 = c(1, 2, 3, 4, 5), col2 = c("a", "b", "c", "d", "e")), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.