Cuts a numeric image into an integer factor,
with the option of a mask.
Usage
# S3 method for nifti
cut(x, breaks, ..., mask)
# S3 method for anlz
cut(x, ..., mask)
Value
Object of class nifti with an attribute of levels
Arguments
x
Object of class nifti
breaks
either a numeric vector of two or more unique cut points
or a single number (greater than or equal to 2)
giving the number of intervals into which x is to be cut.
Passed to cut)