plot.funmediation {funmediation} | R Documentation |
plot.funmediation: Produces plots for a funmediation model.
Description
Produces plots from a funmediation object produced by the funmediation function. These plots will be shown on the default output device (likely the screen); they can of course be written to a file instead, by preceding the call to plot with a call to png(), pdf(), or other R graphic file output functions.
Usage
## S3 method for class 'funmediation'
plot(
x,
use_panes = TRUE,
what_plot = c("pfr", "pfrgam", "coefs", "tvem"),
alpha_level = 0.05,
...
)
Arguments
x |
The funmediation object to be plotted. |
use_panes |
Whether to plot multiple coefficient functions in a single image. |
what_plot |
One of "pfr","coefs", or "tvem." These options are as follows:
|
alpha_level |
Default is .05 for pointwise 95 percent confidence intervals. |
... |
Further arguments currently not supported |
Value
This function does not return an object, but is called for its side effect of plotting to the active device.