Supplement the estimated coefficients with other useful information for informative visualization of the (robust) mediation analysis results. It is thereby possible to construct data frames for dot plots of selected coefficients, as well as density plots of the indirect effect.

1 2 3 4 5 6 7 8 9 10 | ```
## S3 method for class 'bootTestMediation'
fortify(model, data, method = c("dot", "density"),
parm = c("c", "ab"), ...)
## S3 method for class 'sobelTestMediation'
fortify(model, data, method = c("dot",
"density"), parm = c("c", "ab"), level = 0.95, ...)
## S3 method for class 'list'
fortify(model, data, ...)
``` |

`model` |
an object inheriting from class |

`data` |
for the |

`method` |
a character string specifying for which plot to construct the
data frame. Possible values are |

`parm` |
a character string specifying the coefficients to be included in a dot plot. The default is to include the direct and the indirect effect. |

`level` |
numeric; the confidence level of the confidence intervals from Sobel's test to be included in a dot plot. The default is to include 95% confidence intervals. |

`...` |
additional arguments are currently ignored. |

A data frame containing the necessary data for the selected plot, as well as additional information stored in attributes.

Andreas Alfons

`testMediation`

, `plotMediation`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.