Hi all,

I have a list of lists like this :

mylist <- list(list(a=10,b="x"),list(a=11,b="y"),list(a=12,b="z"))

I want to find the index of list in mylist where a = 11 and b  = "y"  , so I 
want to get 2 as a result

Thanks in advance

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to