ds.test.TMint.Rd
This function is similar to R function test.TMint
from the
mediation
package.
ds.test.TMint(x = NULL, conf.level = NULL, datasources = NULL)
the name of the output of the ds.mediate
function saved at each server.
the level of the returned two-sided confidence intervals for the effect differences. By default it is set to the value used in the original mediate call.
a list of DSConnection-class
objects obtained after login. If the datasources
argument is not specified
the default set of connections will be used: see datashield.connections_default
.
an object of class "htest" when applied to a mediate object. See t.test for more explanations of the contents. The function returns an object of class "htest.order" which has its own print method included in this package.
The function 'test.TMint' is used to test whether the average causal mediation effects and direct effects are significantly different between the treatment and control conditions.