unmask_mat {fMRItools} | R Documentation |
Unmask matrix data
Description
Insert empty rows or columns to a matrix. For example, medial wall vertices can be added back to the cortex data matrix.
Usage
unmask_mat(x, mask, mask_dim = 1, fill = NA)
Arguments
x |
The data matrix to unmask. |
mask |
The logical mask: the number of |
mask_dim |
Rows, |
fill |
The fill value for the inserted rows/columns. Default: |
Value
The unmasked matrix.
[Package fMRItools version 0.4.7 Index]