Usage
qplsc.mp(Y, modmat, penmat, constr.list = NULL, lsp, nulldim = NULL,
store.reml = FALSE, store.fitted = FALSE)Arguments
Y
an $n \times V$ response matrix ($V$ refers to number of models fitted in parallel, e.g., voxels in neuroimaging applications).
modmat
model matrix, e.g., a matrix of B-spline basis functions.
constr.list
a list of length equal to number of constraints to be imposed, containing information for reparametization to an unconstrained optimization. Attribute 'C' is the constraint matrix, and 'start' and 'end' refer to the
lsp
vector of candidate tuning parameters ($\log(\lambda)$).
nulldim
null space dimension, ordinarily equal to the order of the derivative penalty.
store.reml
logical: should the pointwise REML criterion at each grid point be included in the output? FALSE by default, as this output can be very large.
store.fitted
logical: should the fitted values be included in the output? FALSE by default.