Generic function to convert N-dimensional grid coordinate to 1D indices
Source:R/all_generic.R
, R/neuroslice.R
, R/neurospace.R
grid_to_index-methods.Rd
Generic function to convert N-dimensional grid coordinate to 1D indices
Usage
grid_to_index(x, coords)
# S4 method for NeuroSlice,matrix
grid_to_index(x, coords)
# S4 method for NeuroSlice,numeric
grid_to_index(x, coords)
# S4 method for NeuroSpace,matrix
grid_to_index(x, coords)
# S4 method for NeuroSpace,numeric
grid_to_index(x, coords)
# S4 method for NeuroVol,matrix
grid_to_index(x, coords)
# S4 method for NeuroVol,numeric
grid_to_index(x, coords)