[R] R compare cells in one matrix
kokavolchkov
kokavolchkov at gmail.com
Fri Aug 5 12:11:56 CEST 2011
Good morning!
Please, could you help me with the problem?
I have a matrix *144x73.*
An example of a matrix:
[,1] [,2] [,3] [,4] [,5]
[1,] 277.4 276.24 275.62 276.55 278.05
[2,] 277.4 276.24 275.55 276.42 277.72
[3,] 277.4 276.24 275.50 276.22 277.39
[4,] 277.4 276.24 275.42 276.02 277.02
[5,] 277.4 276.22 275.37 275.82 276.64
And I want to *compare*its cells like this:
a11 and a12;
a11 and a21;
a11 and a22.
then
a12 and a22;
a12 and a13;
a12 and a23.
and so on in a cycle.
*Is there a function or a package that can be used for comparation?*
Thank you!
--
View this message in context: http://r.789695.n4.nabble.com/R-compare-cells-in-one-matrix-tp3720854p3720854.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list