How to correlate a vector with matrix, then output average cor and its SD
1
0
Entering edit mode
刘伟 ▴ 30
@-5667
Last seen 9.7 years ago
Dear Buddy, Happy Christmas. I am a user of R. When I attempt to correlate a vector x with a matrix y, R warn me of incompatible dimensions (unequal numbers of rows) . Should I use lapply? I need the average and standard deviation of the correlation. Any suggestion is appreciated. Thanks. Sincerely, Wei Liu
• 919 views
ADD COMMENT
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 3.3 years ago
United States
Hi, On Tue, Dec 25, 2012 at 4:01 AM, ?? <antibodyliu at="" gmail.com=""> wrote: > Dear Buddy, > > Happy Christmas. > I am a user of R. When I attempt to correlate a vector x with a > matrix y, R warn me of incompatible dimensions (unequal numbers of > rows) . Should I use lapply? I need the average and standard deviation > of the correlation. Any suggestion is appreciated. Thanks. I'm not sure this is a Bioconductor question. You might want to ask on R-help: http://stat.ethz.ch/mailman/listinfo/r-help Dan > > Sincerely, > Wei Liu > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 369 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6