powered by
Efficient function to perform sort(unique(v))
sortd(v)
numerical sorted vector without duplicates
Vector
v <- c(1,1,4,5) sortd(v)
Run the code above in your browser using DataLab