Finds values that occur exactly once in a vector.
orphan(x)
x
A vector.
Returns the unique values in the same order that they would be returned in a call to unique.
unique
orphan(c(NA, 1:3, 3, 4:6, 3, NA, 4))