powered by
Extract the n-th element from a list
nele.list(lst, n)
object with elements of each list
is the list object
is the position of the element in the list to be retrieved
Christian Salas-Eljatib
x <- list(list("z","x","y"), list(3,4,99,23,45), list(1,67,5,6,89)) nele.list(x,1) nele.list(x,2) nele.list(x,3)
Run the code above in your browser using DataLab