binarise | R Documentation |
This function binarises an array, setting all nonzero elements to unity.
binarise(x)
x |
An object that can be coerced to an array, or for which a
|
A morphed array with the same dimensions as the original array.
Jon Clayden <code@clayden.org>
morph
for the function underlying this operation, and
erode
for mathematical morphology functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.