View source: R/decisionFunctions.R
the difference in coefficients decision function (correlation - partial cor)
1 | corMinusPartCor(x, m, y, p.value = 0.1)
|
1 2 3 | # generate data
dat <- generateMed(n = 100, a = 0.4, b = -0.8)
cmfilter:::corMinusPartCor(dat$x, dat$M, dat$y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.