Creates a unique design matrix based on model specification for each of the different potentially spatially varying aspects.
getDesignMatrix(model.list, data)(list) a list with two elements: a design matrix of dimension
(n x p), and a par.pos object, indexing columns of the design matrix to each of the spatially-varying functions.
(list) a list of formulas, one for each source of nonstationarity, specifying the
models.
(data.frame) a data.frame.
Federico Blasi