Description Usage Arguments Value Warning Author(s) Examples

View source: R/lmerPlotInt.fnc.R

Visualization of an interaction in a model fitted with lmer of two numeric predictors.

1 2 3 4 5 |

`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 |

`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 |

`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 |

`...` |
other arguments |

A plot is shown on the graphics device.

This function should not be used to plot interactions when one of the predictors also has quadratic or higher terms in the model.

R. H. Baayen

1 2 3 4 5 6 7 8 9 10 |

languageR documentation built on May 2, 2019, 10:02 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.