Dear People,

I have got the following example for a vector and the index of the TRUE
element:

Myvector <- c(FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE)
which(Myvector)

Now I would like to find out the same for a list:

Mylist <- list(FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE)

...

Does anyone know how to do this?

Thank you very much in advance,
Marion

	[[alternative HTML version deleted]]

