Splits a vector (which is casted as a factor) by its elements returning a named list with the indices for each unique element of the vector.
split0(x)
A named list according to the unique elements of x
with the
integer indices of those given elements.