Learn R Programming

biometrics (version 1.0.1)

nele.list: Extract the n-th element from a list

Description

Extract the n-th element from a list

Usage

nele.list(lst, n)

Value

object with elements of each list

Arguments

lst

is the list object

n

is the position of the element in the list to be retrieved

Author

Christian Salas-Eljatib

Examples

Run this code
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