[R] R compare cells in one matrix

jim holtman jholtman at gmail.com
Fri Aug 5 15:20:50 CEST 2011


But there is:

Com`pa`ra´tion
n. 1. A making ready; provision.

Webster's Revised Unabridged Dictionary, published 1913 by C. & G. Merriam Co.



On Fri, Aug 5, 2011 at 9:12 AM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
> *Is there a function or a package that can be used for comparation?*
>
> Given that there is no such thing as comparation, I can only guess that
> there's not...
>
> Michael
>
> PS -- Write back and actually explain what you are  trying to do and we'll
> talk.
>
> On Fri, Aug 5, 2011 at 6:11 AM, kokavolchkov <kokavolchkov at gmail.com> wrote:
>
>> 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.
>>
>> ______________________________________________
>> R-help at 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, minimal, self-contained, reproducible code.
>>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?



More information about the R-help mailing list