list.findi function

Find the indices of a number of elements in a list or vector satisfying a given condition