I'm trying to use duplicated
to find rows in a dataframe that are duplicate based on two columns only.
When I pass anything into the incomparables
argument, I get the error
dups = duplicated(data, incomparables="Age")
...
argument 'incomparables != FALSE' is not used (yet)
I can't figure this out.
This question seems to have had a similar problem with no response.
No doubt there's a different way to do the same thing, which would also be good to know, as I am a beginner in R.