grid_to_index | R Documentation |
Generic function to convert N-dimensional grid coordinate to 1D indices
grid_to_index(x, coords)
## S4 method for signature 'NeuroSlice,matrix'
grid_to_index(x, coords)
## S4 method for signature 'NeuroSlice,numeric'
grid_to_index(x, coords)
## S4 method for signature 'NeuroSpace,matrix'
grid_to_index(x, coords)
## S4 method for signature 'NeuroSpace,numeric'
grid_to_index(x, coords)
## S4 method for signature 'NeuroVol,matrix'
grid_to_index(x, coords)
## S4 method for signature 'NeuroVol,numeric'
grid_to_index(x, coords)
x |
the object, typically a |
coords |
a matrix where each row is a coordinate or a vector of length equal to |
a vector of indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.