Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

bindata (version 0.9-22)

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

ra2ba(x)

Arguments

x

array of arbitrary dimension

Author

Friedrich Leisch

Examples

Run this code
x <- array(rnorm(10), dim=c(2,5))
ra2ba(x)

Run the code above in your browser using DataLab