powered by
Converts all values of the real valued array x to binary values by thresholding at 0.
x
ra2ba(x)
array of arbitrary dimension
Friedrich Leisch
x <- array(rnorm(10), dim=c(2,5)) ra2ba(x)
Run the code above in your browser using DataLab