powered by
duplicatesexclude(dat,res)
a<-duplicatesexclude(dat,res=10)
Run the code above in your browser using DataLab