Skip to content
Back to formatted view

Raw Message

Message-ID: <da79af330803130533q19b40f60j429d4fe63b7046c7@mail.gmail.com>
Date: 2008-03-13T12:33:38Z
From: Henrique Dallazuanna
Subject: Compare two correlations matrices
In-Reply-To: <1205407074.7772.32.camel@martin-laptop>

Try:


all.equal(cor(d), cor(e))
identical(cor(d), cor(e))
cor(d) == cor(e)

On 13/03/2008, Martin Kaffanke <technik at roomandspace.com> wrote:
> Hi there,
>
>  When I make two correlations matrices of the same size from
>
>  a <- cor(el[1:20])
>  b <- cor(fl[1:20])
>
>  how can I compare if this matrices are equal?
>
>  Thanks,
>  Martin
>
>
>  --
>  Ihr Partner f?r Webdesign, Webapplikationen und Webspace.
>  http://www.roomandspace.com/
>  Martin Kaffanke +43 650 4514224
>
> ______________________________________________
>  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.
>
>
>


-- 
Henrique Dallazuanna
Curitiba-Paran?-Brasil
25? 25' 40" S 49? 16' 22" O