assuming the simple code:
a <- list()
a[[1]] <- c(1,2,3)
a[[2]] <- c(2,3,4)
I want to ask about vector membership in the list and get the membership index.
So for asking about c(1,2,3)
I will get 1
, and for asking about c(2,3,4)
I will get 2. How do I do that?