Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 203 Bytes
allDuplicated <- function(x){
# This function returns TRUE for the first occurrence, too.
x.pasted <- do.call("paste0", as.list(x))
d <- x.pasted[duplicated(x.pasted)]
return(x.pasted %in% d)
}
You can’t perform that action at this time.