cmfslow: R-based Coordinate-wise Mediation Filter backend

View source: R/cmfslow.R

cmfslowR Documentation

R-based Coordinate-wise Mediation Filter backend

Description

R-based Coordinate-wise Mediation Filter backend

Usage

cmfslow(
  x,
  M,
  y,
  decisionFunction,
  nStarts,
  nCores,
  cutoff,
  maxIter,
  stableLag,
  ...
)

Examples

# generate some data
dat <- generateMed(a = (1:10)/20, b = (1:10)/20)
cmfilter:::cmfslow(dat$x, dat[,-c(1, 12)], dat$y, 
                   decisionFunction = cmfilter:::prodCoef,
                   nStarts = 50, nCores = 1, cutoff = 0.5, 
                   maxIter = 25, stableLag = 5, p.value = 0.1)
                  

vankesteren/cmfilter documentation built on April 6, 2023, 3:40 a.m.