Fast Coordinate-wise Mediation Filter backend
1 2 | cmfast(x, M, y, decisionFunction = "prodcoef", nStarts, nCores, cutoff,
maxIter, stableLag, p.value, pb)
|
1 2 3 4 5 | # generate some data
dat <- generateMed(a = (1:10)/20, b = (1:10)/20)
cmfilter:::cmfast(dat$x, dat[,-c(1, 12)], dat$y, nStarts = 100, nCores = 2,
cutoff = 0.5, maxIter = 25, stableLag = 5, p.value = 0.1,
pb = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.