R/TDiM.R

Defines functions `TDiM`

`TDiM` <-
function(S,R){ 
    N<-length(S)
    (1/sqrt(N-1))*(sum(S*R) - N*mean(S)*mean(R))/(sd(S)*sd(R))
}

Try the choplump package in your browser

Any scripts or data that you put into this service are public.

choplump documentation built on May 9, 2022, 5:08 p.m.