KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
just wondering why duplicated behaves the way it does with NAs: > duplicated(c(NA,NA,NA,1,2,2)) [1] FALSE TRUE TRUE FALSE FALSE TRUE where in fact > NA == NA [1] NA is there a way to achieve that duplicated marks NAs as false, like this? > duplicated(c(NA,NA,NA,1,2,2)) [1] FALSE FALSE FALSE FALSE FALSE TRUE
Tags (comma-separated)
Save Edits
Cancel