Learn R Programming

gWidgets2 (version 1.0-9)

get_index_in_list: get index of element of list

Description

Like match, but works with a list

Usage

get_index_in_list(lst, ele)

Arguments

lst

a list to search through

ele

element of list

Value

returns index of element or integer(0)