Hello,

I want to write a function to do pairwise calculation, but I don' know how
to write it. Could anyone help?

i.e. I have A (2*3), B(3*3), C(4*3) three matrices. I want to calculate
distance correlation between each pair of matrices using code "dcor". How
do I write a function so that I can get the result as a matrix integrating
all the  pairwise results?

Thanks in advance for your help!

Best,
Amanda

	[[alternative HTML version deleted]]

