search for: risp

Displaying 1 result from an estimated 1 matches for "risp".

Did you mean: isp
2007 Mar 16
2
Duplicated non contiguous element in a list
Hello, Given a vector I would like to rapidly identify duplicated non contiguous elements. Given for example c(1, 1, 2, 3, 2, 4, 5, 6, 4) I would like to get: FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE In fact I need to check this on the columns of a matrix! I can do that of couse with loops but is there any function already available? Thanks