Learn R Programming

languageR (version 1.6)

makeDefaultMatrix.fnc: Create model matrix with main effects only

Description

Creates a model matrix with main effects only

Usage

makeDefaultMatrix.fnc(model, n = 100, conditioningPred = "", 
                      conditioningValue = NULL, control = NA)

Value

a (model) matrix

Arguments

model

A model fit with lmer

n

integer specifying number of points to be plotted on X-axis

conditioningPred

name of predictor entering into interaction

conditioningValue

vector of values (numeric or factor level names) to be shown for interaction

control

a two-element list (predictor, value) specifying an additional predictor to be fixed to the given value in a partial effect plot. May be useful for hand-made plots for three-way interactions.

Author

R. H. Baayen

Details

not intended for independent use

See Also

See Also as plotLMER.fnc