Displaying 1 result from an estimated 1 matches for "forumula".
Did you mean:
formula
2008 Oct 20
1
Zero mean correlation Matrix
Hi,,
I want to use the existing cor function in R but with a different way to
compute the correlation method.. basically zero mean correlation.
The forumula I have is
'D' <- function(c1, c2)
sum(c1*c2, na.rm=T)/(sqrt(sum(c1*c1, na.rm=T))*sqrt(sum(c2*c2, na.rm=T)))
I am not sure how i can modify the method cor computes its square roots and
covariance matrixes? I only need to add this to get the answer
--
View this message in...