construct.dmm {SSM} | R Documentation |
Construct the design model matrix
Description
Constructs the design model matrix corresponding to the given design and
basis. Used by fit.ssm
.
Usage
construct.dmm(basis, design, P)
Arguments
basis |
An |
design |
An |
P |
An |
Details
The argument basis
defines a monomial basis and the change of basis
matrix P
is used to convert this to a polynomial basis. The function
returns the design model matrix corresponding to this polynomial basis and
the design given by design
. Note that if P
is the
appropriately sized identity matrix then the model basis a monomial one.
Value
The n x N
design model matrix.
[Package SSM version 1.0.1 Index]