[R] matrix^(-1/2)

2009-10-31 Thread Kajan Saied
! Best regards, Kajan Saied [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

[R] sort (all columns of) a matrix

2009-10-08 Thread Kajan Saied
Dear R-Help Team, I have been trying to sort (all columns of) a matrix: a-matrix(a-c(1,3,4,6,6,4,6,56,4,64,86,39,4,2),length(a),2) a [,1] [,2] [1,]11 [2,]33 [3,]44 [4,]66 [5,]66 [6,]44 [7,]66 [8,] 56 56 [9,]44