ra2ba: Convert Real Valued Array to Binary Array

Description

Converts all values of the real valued array x to binary values by thresholding at 0.

Usage

1
ra2ba(x)

Arguments

x

array of arbitrary dimension

Author(s)

Friedrich Leisch

Examples

1
2
x <- array(rnorm(10), dim=c(2,5))
ra2ba(x)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.