interesting request..I'm looking forward to the replies
All I could come up with is putting it in two lines..
pr-array(0,c(dim(x)[2],dim(x)[2]));
for (i in 1:dim(x)[2]) for (j in 1:dim(x)[2])
pr[i,j]-cor.test(x[,i],x[,j])$p.val;
y
Monica Pisica wrote:
Hi everybody,
I would like to
/biostat/
http://www.student.kuleuven.be/~m0390867/dimitris.htm
- Original Message -
From: Monica Pisica [EMAIL PROTECTED]
To: r-help@r-project.org
Sent: Thursday, May 08, 2008 9:05 PM
Subject: [R] applying cor.test to a (m, n) matrix
Hi everybody,
I would like to apply cor.test
Hi again,
I've got few very good options from the list and since they were not posted to
the list, I will provide a summary. Thank you very much to all who answered and
I hope this summary will benefit others interested in solving similar problems
like that.
Yasir Kaheil re-wrote my original
Message - From: Monica Pisica [EMAIL PROTECTED]
To: r-help@r-project.org
Sent: Thursday, May 08, 2008 9:05 PM
Subject: [R] applying cor.test to a (m, n) matrix
Hi everybody,
I would like to apply cor.test to a matrix with m rows and n columns and
get the results in a list
/336899Fax: +32/(0)16/337015Web:
http://med.kuleuven.be/biostat/
http://www.student.kuleuven.be/~m0390867/dimitris.htm- Original Message
- From: Monica Pisica [EMAIL PROTECTED]To: r-help@r-project.orgSent:
Thursday, May 08, 2008 9:05 PMSubject: [R] applying cor.test to a (m, n) matrix
Hi everybody,
I would like to apply cor.test to a matrix with m rows and n columns and get
the results in a list of matrices , one matrix for p.val, one for the
statistic, one for the correlation and 2 for upper and lower confidence
intervals, something analog with cor() applied to a matrix.
6 matches
Mail list logo