unvec_vol | R Documentation |
Un-applies a mask to vectorized data to yield its volumetric representation.
The mask and data should have compatible dimensions: the number of rows in
dat
should equal the number of locations within the mask
.
unvec_vol(dat, mask, fill = NA)
dat |
Data matrix with locations along the rows and measurements along the columns. If only one set of measurements were made, this may be a vector. |
mask |
Volumetric binary mask. |
fill |
The value for locations outside the mask. Default: |
The 3D or 4D unflattened volume array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.