View source: R/sparse_and_PW.R
sparse_and_PW | R Documentation |
Transforms the usual TxV BOLD data matrix Y into vector form, and the usual TxK design matrix X into big sparse matrix form for use in Bayesian GLM.
sparse_and_PW(
BOLD,
design,
spatial,
spde,
field_names,
design_type,
valid_cols,
nT,
sqrtInv_all
)
BOLD , design , spatial , spde |
See |
field_names , design_type |
See |
valid_cols , nT , sqrtInv_all |
See |
The Bayesian GLM requires y
(a vector of length TV containing the BOLD data)
and X_k
(a sparse TVxV matrix corresponding to the kth field regressor) for each field k.
The design matrices are combined as A=cbind(X_1,...,X_K)
.
The Bayesian GLM requires y
(a vector of length TV containing the BOLD data)
and X_k
(a sparse TVxV matrix corresponding to the kth field regressor) for each field k.
The design matrices are combined as A=cbind(X_1,...,X_K)
.
A list containing fields y
and A
(see Details)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.