eachSlice {neuroim} | R Documentation |
Generic functions to apply a function to each (2D) slice of an image
Description
Generic functions to apply a function to each (2D) slice of an image
Usage
eachSlice(x, FUN, withIndex, ...)
## S4 method for signature 'BrainVolume,'function',missing'
eachSlice(x, FUN)
## S4 method for signature 'BrainVolume,'function',logical'
eachSlice(x, FUN, withIndex)
Arguments
x |
the object |
FUN |
a |
withIndex |
whether the index of the slice is supplied as the second argument to the function |
... |
additional arguments |
[Package neuroim version 0.0.6 Index]