Subjects
Home
Reasons to Use R
Block comments in R?
R in Industry
Wikibooks
Conservative "ANOVA tables " in lmer
read spss (package foreign) and SPSS 15 0 files
importing excel file
Ryacas not working properly
Making a case for using R in Academia
eval(parse(text vs get when accessing a function
New project: littler for GNU R
Reading fixed column format
sas get problem
screen resolution effects on graphics
do call( "+ ", )
axis command and excel time format
Making TIFF images with rtiff
Test internet presence
how to get "lsmeans "?
Off topic:Spam on R help increase?
kate editor for R
Install RMySQL with R 2 4 0
Barplot
Rserve and R to R communication
Re: R package development in windows BayesianFilter detected
Statitics Textbook any recommendation?
to draw a smooth arc
regular expression
Hardware for a new Workstation for best performance using R
Bad optimization solution
Suggestions for statistical computing course
Evaluation of defaults in functions
help comparing two median with R
zero random effect sizes with binomial lmer
lattice and several groups
subsetting, aggregating and zoo
Matrix multiplication using apply() or lappy() ?
R package development in windows
Lining up x y datasets based on values of x
Debugging R 's code: boxplot stats
A function for raising a matrix to a power?
subset
Replacement in an expression can 't use parse()
[R] Timings of function execution in R [was Re: R in Industry]
acos(0 5) == pi/3 FALSE
Help with interfacing C & R
R and clinical studies
read fwf and header
setting new working directories
random uniform sample of points on an ellipsoid (e g WG
Weighted least squares
Loop with string variable AND customizable "summary " output
rename cols
Regarding Vista
Multiple Conditional Tranformations
multinomial logistic regression with equality constraints?
A coding question involving variable assignments in ifelse()
help went away from top emacs window : (
Large matrix into a vector
scripts with littler
Links
Home
Official R Project Site
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
correlate vector & report p-value

correlate vector & report p-value

2005-12-05       - By Vivien W. Chen
Reply:     1     2  

Dear all,

I've been struggling with this through this weekend, I finally decided to ask
help from you. Please let me know if there is effective way to deal with this
problem. Thanks!

Here is the problem:

I have two matrices.

Matrix A:

a b c
4 5 2
3 2 1
4 5 6

Matrix B:
d e f g h
3 4 5 2 1
2 3 7 8 6
8 5 1 3 4

I would like to correlate vector a of matrix A with with vectors d,e,f,g,h of
matrix "B" and save the p-value in a seperate result vector. Then, I would like
to repeat this process using vector b of matrix A. Then, I would like to do
this for vector c of matrix A.

Vivien W. Chen

______________________________________________
R-help@(protected) mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html