Plot response curve for each individual in a population sample, given a GLMM with one continuous predictor and one (optional) factorial predictor. If the factorial predictor is specified, the response is plotted separately for each individual and each predictor level.
facet_by: optional. A string specifying the name of the faceting variable (either the participant identification or the factorial predictor).
showData: logical, defines if proportion of binomial responses for each stimulus level are presented. Default is TRUE.
Returns
MixPlot returns a ggplot object.
Details
If the model includes only a continuous predictor, the figure consist of a single panel, and each individual's response is assigned a different color. If a factorial predictor is included in the model, the faceting variable can be either the participant identification or the factorial predictor. By default, each panel shows an individual's response, different levels of the factorial predictor are coded by color.