Description Usage Arguments Value Examples
ItoPearsonCorrelation
It calculates the Null distribution of I and determine what is the percentile of the real value of I,
then It calculates the inverse of the Normal Distribution(qnorm) to obtain the value of R to which this percentile belongs to.
1 | ItoPearsonCorrelation(vI, n, medianCenter = TRUE)
|
vI |
the vector obtained by resamplingI. |
n |
sample size |
medianCenter |
to center all the values to the median. The defaul value is TRUE |
a list with r correlation equivalence and the rectified vector
1 2 3 4 5 | fileInput <- system.file("testdata", "chen.csv", package="Irescale")
data <- loadFile(fileInput)
distM<-calculateEuclideanDistance(data$data)
vI<-resamplingI(distM,data$varOfInterest,n = 1000)
rectifiedI<- ItoPearsonCorrelation(vI, length(data))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.