- x
The name of the predictor variable (as a character string).
- z
The name of the moderator variable (as a character string).
- y
The name of the outcome variable (as a character string).
- xz
The name of the interaction term. If not specified, it will be created using x
and z
.
- model
A fitted model object of class modsem_da
, modsem_mplus
, modsem_pi
, or lavaan
.
- min_z
The minimum value of the moderator variable z
to be used in the plot (default is -3). It is relative to the mean of z.
- max_z
The maximum value of the moderator variable z
to be used in the plot (default is 3). It is relative to the mean of z.
- sig.level
The significance level for the confidence intervals (default is 0.05).
- alpha
alpha setting used in `ggplot` (i.e., the opposite of opacity)
- detail
The number of generated data points to use for the plot (default is 1000). You can increase this value for smoother plots.
- sd.line
A thick black line showing +/- sd.line * sd(z)
. NOTE: This line will be truncated by min_z
and max_z
if
the sd.line falls outside of [min_z, max_z]
.
- ...
Additional arguments (currently not used).