Learn R Programming

rlist (version 0.2.2)

list.extract: Extract a member from a list

Description

Extract a member from a list

Usage

list.extract()

Arguments

Examples

Run this code
x <- list(a=1,b=2,c=3)
list.extract(x,1)
list.extract(x,"a")

Run the code above in your browser using DataLab