coord_to_grid-methods: convert n-dimensional real world coordinates to grid...

coord_to_gridR Documentation

convert n-dimensional real world coordinates to grid coordinates

Description

convert n-dimensional real world coordinates to grid coordinates

Usage

coord_to_grid(x, coords)

## S4 method for signature 'NeuroSpace,matrix'
coord_to_grid(x, coords)

## S4 method for signature 'NeuroSpace,numeric'
coord_to_grid(x, coords)

## S4 method for signature 'NeuroVol,matrix'
coord_to_grid(x, coords)

## S4 method for signature 'NeuroVol,numeric'
coord_to_grid(x, coords)

Arguments

x

the object

coords

a matrix of real world coordinates

Value

a matrix of grid coordinates


bbuchsbaum/neuroim2 documentation built on April 20, 2024, 4:20 p.m.