powered by
Given a list, delete the instances of an element in the list, leaving the order inalterated.
list2Set(v)
single vector or list of vectors
sequence of distinct elements
list2m, m2Set
list2m
m2Set
# NOT RUN { # Return c(1,2,3,5,6) list2Set(c(1,2,3,1,2,5,6)) # Return the list (c(1,2),c(10,11),c(7,8)) list2Set( list(c(1,2),c(1,2),c(10,11),c(1,2),c(7,8))) # }
Run the code above in your browser using DataLab