cmfast | R Documentation |
Fast Coordinate-wise Mediation Filter backend
cmfast(
x,
M,
y,
decisionFunction = "prodcoef",
nStarts,
nCores,
cutoff,
maxIter,
stableLag,
p.value,
pb
)
# 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.