coord_to_index-methods: Generic function to convert N-dimensional real world...

Description Usage Arguments Value

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
coord_to_index(x, coords)

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

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

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

Arguments

x

the object

coords

a matrix of real world coordinates

Value

a vector of indices


bbuchsbaum/neuroim2 documentation built on Oct. 12, 2019, 6:54 a.m.