View source: R/ds.test.TMint.R
ds.test.TMint | R Documentation |
This function is similar to R function test.TMint
from the
mediation
package.
ds.test.TMint(x = NULL, conf.level = NULL, datasources = NULL)
x |
the name of the output of the |
conf.level |
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. |
datasources |
a list of |
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.
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.
Demetris Avraam, for DataSHIELD Development Team
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.