make_Pmat {templateICAr} | R Documentation |
Make permutation matrix
Description
Create permutation matrix P to regroup elements of s by locations instead of by ICs
Usage
make_Pmat(Q, nvox)
Arguments
Q |
The number of template ICs |
nvox |
The number of spatial locations ( |
Details
If s=(s1,...,sQ) is grouped by ICs 1,...Q, then Ps=(s(1),...,s(nvox)) is grouped by locations 1,...,nvox
Value
P Permutation matrix size QVxQV
[Package templateICAr version 0.9.1 Index]