MAC | R Documentation |
Run the main analysis.
MAC(HA, multi = T, decor = T, hybrd = T, mc = 5, fdr = F, sig_cut = 0.1)
HA |
The dataset, can be obtained by running sim_mediation_data. |
multi |
Apply the multivariate approach or not, default=true. |
decor |
Apply the decorrelation approach or not, default=true. |
hybrd |
Apply the hybrid approach or not, default=true. |
mc |
Number of cores for parallel computing, default=5. |
fdr |
Apply FDR correction in the final result or not, default=false. |
sig_cut |
The significance level (alpha), default=0.1. |
HA=sim_mediation_data(hypo="HA",mm=0.1,vv=0.1,sm=10)
annoR=MAC(HA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.