This is the back-end for the functions plotSlopes and plotCurves. Don't use it directly.
plotFancy(newdf, olddf, plotx, modx, modxVals, interval, plotPoints, plotLegend,
legendTitle, col = NULL, llwd = 2, opacity, ...)
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?
TRUE or FALSE: draw defaut legend
Optional. You'll get an automatically generated title, such as "Moderator: modx", but if you don't like that, specify your own string here.
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.
col, lty, and lwd information