Learn R Programming

neuroim (version 0.0.6)

coordToGrid: Generic function to convert N-dimensional real world coordinates to grid coordinates

Description

Generic function to convert N-dimensional real world coordinates to grid coordinates

Usage

coordToGrid(x, coords)
"coordToGrid"(x, coords)
"coordToGrid"(x, coords)
"coordToGrid"(x, coords)

Arguments

x
the object
coords
a matrix of real world coordinates

Value

a matrix of grid coordinates