Learn R Programming

investr (version 1.4.0)

makeX: Design Matrix for Fixed and Random Effects

Description

Construct the fixed or random effects design matrix from a fitted model using newdata. (For internal use only.)

Usage

makeX(object, newdata)
makeZ(object, newdata)

Arguments