Convert 1d indices to n-dimensional grid coordinates
Source:R/all_generic.R
, R/neuroslice.R
, R/neurospace.R
index_to_grid-methods.Rd
Convert 1d indices to n-dimensional grid coordinates
Usage
index_to_grid(x, idx)
# S4 method for NeuroSlice,numeric
index_to_grid(x, idx)
# S4 method for NeuroSpace,numeric
index_to_grid(x, idx)
# S4 method for NeuroVec,index
index_to_grid(x, idx)
# S4 method for NeuroVec,integer
index_to_grid(x, idx)
# S4 method for NeuroVol,index
index_to_grid(x, idx)
# S4 method for NeuroVol,integer
index_to_grid(x, idx)