R/morph.R
binarise.Rd
This function binarises an array, setting all nonzero elements to unity.
binarise(x)
An object that can be coerced to an array, or for which a morph method exists.
morph
A morphed array with the same dimensions as the original array.
morph for the function underlying this operation, and erode for mathematical morphology functions.
erode
Jon Clayden <code@clayden.org>