powered by
colMedians(mat)
rowQ
A<-matrix(rnorm(30),10,3) colMedians(A)
Run the code above in your browser using DataLab