Convert Real Valued Array to Binary Array
Usage
ra2ba(x)
Arguments
x
|
Array of arbitrary dimension
|
Description
Converts all values of the real valued array x
to binary values
by thresholding at 0.Author(s)
Friedrich LeischExamples
x <- array(rnorm(10), dim=c(2,5))
ra2ba(x)