Hi Timothy,
and thanks for the answer. Loops where exactly what I was trying to
avoid as much as possible. My initial idea was that that once I had
recursive indexes at my disposal (which were retrieved over recursive
loops), I could simply use it in a similar manner as we do with indexes
(t
Dear Janko,
I think requires a for loop. The approach I took here was mark the dups, then
dump them all in one hit:
testData = expand.grid(letters[1:4],c(1:3))
testData$keep=F
uniqueIDS = unique(testData$Var1)
for(thisID in uniqueIDS) {
firstCaseOnly = match(thisID,testData$Var1)
Dear list,
I'm trying to solve something pretty basic here, but I can't really come
up with a good solution. Basically, I would just like to remove
duplicated named elements in lists via a their respective recursive
indexes (given that I have a routine that identifies these recursive
indexes)
3 matches
Mail list logo