powered by
min_max(x,index=FALSE)
rowMins, rowMaxs, nth, colrange, colMedians,sort_mat
x <- rnorm(1000 * 2000) system.time( s1 <- min_max(x) ) system.time( s2 <- c(min(x), max(x)) )
Run the code above in your browser using DataLab