Skip to content

question about setdiff()

1 message · Svetlana Eden

#
Thank you for your answers,
I have another question:

the behaviour of setdiff(indicesFalse, indicesNA)
does not seem predictable to me.
[1] 1 2 3 4 5 6
[1]    NA  TRUE  TRUE  TRUE FALSE    NA
[1] 1 6
[1] NA  5 NA
[1] 1 6
[1] NA  5