[R] Interpretation in cor()

John Kane jrkrideau at yahoo.ca
Thu Oct 9 15:35:11 CEST 2008


Please provide a small working example. It is difficult to see what you are doing from the description below. 


--- On Thu, 10/9/08, Michael Just <mgjust at gmail.com> wrote:

> From: Michael Just <mgjust at gmail.com>
> Subject: [R] Interpretation in cor()
> To: "r-help" <r-help at r-project.org>
> Received: Thursday, October 9, 2008, 5:28 AM
> Hello,
> 
> I am performing cor() of some of my data. For example,
> I'll do 3 corr()
> (many variables) operations, one for each of the three
> treatments.
> 
> I then do the following:
> 
> i <-lower.tri(treatment1.cor)
> cor(cbind(one = treatment1.corr[i], two =
> treatment2.corr[i], three =
> treatment3.corr[i]))
> 
> Does this operation above tell me how correlated each of
> the three
> treatments is? Because this how I am interpreting it.
> 
> Thanks,
> Michael Just
> 
> 	[[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.


      __________________________________________________________________
[[elided Yahoo spam]]



More information about the R-help mailing list