Returns a list of the design matrix X and updated pars and randPars to include any dummy-coded categorical or interaction variables.
X
pars
randPars
Useful links