Learn R Programming

neuroim (version 0.0.6)

coordToIndex: Generic function to convert N-dimensional real world coordinates to 1D indices

Description

Generic function to convert N-dimensional real world coordinates to 1D indices

Usage

coordToIndex(x, coords)
"coordToIndex"(x, coords)
"coordToIndex"(x, coords)
"coordToIndex"(x, coords)

Arguments

x
the object
coords
a matrix of real world coordinates

Value

a vector of indices