plot.effectsMed {sensmediation} | R Documentation |
Plot function for objects of class "effectsMed"
Description
Plots the estimated natural indirect or direct effects with confidence intervals over the range of the sensitivity parameter Rho
.
Usage
## S3 method for class 'effectsMed'
plot(x, effect = "indirect", xlab = NULL,
ylab = NULL, xlim = NULL, ylim = NULL, main = NULL,
lwd = graphics::par("lwd"), ...)
Arguments
x |
object of class |
effect |
which effect to plot results for ("indirect" or "direct") |
xlab |
a title for the x axis, see |
ylab |
a title for the y axis, see |
xlim |
the x limits (x1, x2) of the plot, see |
ylim |
the y limits of the plot. Default is |
main |
a main title for the plot, see |
lwd |
line widths for the lines of the plot, see |
... |
additional graphical parameters to be passed to plotting functions, see |
[Package sensmediation version 0.3.0 Index]