axisToIndex-methods: Generic function to convert 1-dimensional real axis...

Description Usage Arguments Value

Description

Generic function to convert 1-dimensional real axis coordinates along a single axis dimension to an 1D index along the same axis

Usage

1
2
3
4
axisToIndex(x, real, dimNum)

## S4 method for signature 'BrainSpace,numeric,numeric'
axisToIndex(x, real, dimNum)

Arguments

x

the object

real

the axis coordinates

dimNum

the dimension number of the axis (e.g. 1, 2, 3)

Value

a vector of axis indices


neuroim documentation built on May 2, 2019, 1:04 p.m.