This is the back-end for the functions plotSlopes and plotCurves. Don't use it directly.
plotFancy(
newdf,
olddf,
plotx,
modx,
modxVals,
interval,
plotPoints,
legendArgs,
col = NULL,
llwd = 2,
opacity,
...
)
col, lty, and lwd information
The new data frame with predictors and fit, lwr, upr variables
A data frame with variables(modxVar, plotxVar, depVar)
Character string for name of variable on horizontal axis
Character string for name of moderator variable.
Values of moderator for which lines are desired
TRUE or FALSE: want confidence intervals?
TRUE or FALSE: want to see observed values in plot?
Set as "none" for no legend. Otherwise, a list of arguments for the legend function
requested color scheme for lines and points. One per value of modxVals.
requested line width, will re-cycle.
Value in 0, 255 for darkness of interval shading
Other arguments passed to plot function.
Paul E. Johnson pauljohn@ku.edu