Function to plot results from multiple causal mediation analyses conducted
mediations funciton. Output is a series of plots
plot.mediate for each treatment/mediator/outcome
combination specified in the input 'mediations' object.
1 2 3
output from the mediations function.
subset of names(x), indicating which model combinations to be plotted. Default is to plot all.
logical. If 'TRUE', the user is asked for input before a new figure is plotted. Default is to ask only if the number of plots on current screen is fewer the number implied by 'which'.
arguments passed to the
mediations returns an object of class
summary is used to obtain a table of the results. The plot
function instead plots these quantities. All additional parameters desired
for the plotting of an output from
mediate can be passed through.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.