I Velez'; 'Nico Met'
> Cc: 'R help'
> Subject: Re: [R] Correlation with p value
>
> You can use package Hmisc. Assuming your data.frame is called "dta":
>
> > library(Hmisc)
> > dta2 <- do.call(cbind, split(dta[,2], dta$Name))
&
Hi,
#data: dat1
mat1<-matrix(dat1[,2],ncol=3,nrow=7)
colnames(mat1)<-unique(dat1[,1])
library(Hmisc)
rcorr(mat1)$P
# TTK CTJ PKR
#TTK NA 0.0151874 0.6277163
#CTJ 0.0151874 NA 0.5214368
#PKR 0.6277163 0.5214368 NA
A.K.
- Original Message -
From:
org] On Behalf Of Jorge I Velez
> Sent: Wednesday, February 13, 2013 5:22 AM
> To: Nico Met
> Cc: R help
> Subject: Re: [R] Correlation with p value
>
> Nico,
>
> Check https://stat.ethz.ch/pipermail/r-help/2008-May/161725.html for
> some
> alternatives. You might ha
Nico,
Check https://stat.ethz.ch/pipermail/r-help/2008-May/161725.html for some
alternatives. You might have to change the structure of your data, though.
HTH,
Jorge.-
On Wed, Feb 13, 2013 at 10:13 PM, Nico Met <> wrote:
> Dear all,
>
> I have a data (bellow) and I want to make a correlation
4 matches
Mail list logo