getDesignMatrix {cocons} | R Documentation |
Create an efficient design matrix based on a list of aspect models
Description
Creates a unique design matrix based on model specification for each of the different potentially spatially varying aspects.
Usage
getDesignMatrix(model.list, data)
Arguments
model.list |
|
data |
|
Value
(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.
Author(s)
Federico Blasi
[Package cocons version 0.1.4 Index]