There's plotFancy for numeric predictor. This is for discrete
plotFancyCategories(
newdf,
olddf,
plotx,
modx = NULL,
modxVals,
xlab,
xlim,
ylab,
ylim,
col = c("black", "blue", "darkgreen", "red", "orange", "purple", "green3"),
opacity = 120,
main,
space = c(0, 1),
width = 0.2,
llwd = 1,
offset = 0,
...,
gridArgs = list(lwd = 0.3, lty = 5),
legendArgs
)
None
The new data object, possibly from predictOMatic
The model data matrix
Name of horizontal axis variable
Name of moderator
values for modx
X axis label
x axis limits. Don't bother setting this, the internal numbering is too complicated.
y axis label
y axis limits
color pallet for values of moderator variable
Value in 0, 255 for darkness of interval shading
main title
same as space in barplot, vector c(0, 1) is c(space_between, space_before_first)
width of shaded bar area, default is 0.2. Maximum is 1.
requested line width, will re-cycle.
Shifts display to right (not tested)
Arguments sent to par
A list of values to control printing of reference grid. Set as "none" if no grid is desired.
Arguments to the legend function. Set as "none" if no legend is needed. Otherwise, provide a list
Paul Johnson pauljohn@ku.edu