Usage
lmerPlotInt.fnc(lmermodel, xname, yname, intxyname, qntls = seq(0, 1, by = 0.1), view = 30, addStdError = FALSE, ndigits = 2, nlev = 30, which = "matplot", shadow = 0.5, colour = "lightblue", fun = NA, ylabel = NA, ...)
Arguments
lmermodel
an lmer model object
xname
name (character string) of first numeric predictor
yname
name (character string) of second numeric predictor
intxyname
name (character string) of the interaction in the lmer summary
qntls
vector of values to be shown for the second numeric predictor, defaults to deciles
view
specifies the viewing parameter theta
for the perspective plot
addStdError
add noise with the standard deviation of the residual error in the lmer model to the plot
ndigits
number of digits to show for the second numeric predictor
nlev
number of levels for the contour plot
which
choices are "matplot" (default), "contour", "persp", "image",
and "all", in which case a 2 by 2 panel is shown with all four plots
shadow
the amount of shade
for the perspective plot
colour
the color used for the perspective plot, defaults to "lightblue"
fun
for matplot displays, a function for transforming the predicted
response
ylabel
string, to be added to the Y-axis as y label