ra2ba: Convert Real Valued Array to Binary Array

View source: R/multbin.R

ra2baR Documentation

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(s)

Friedrich Leisch

Examples

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

bindata documentation built on May 29, 2024, 8:58 a.m.

Related to ra2ba in bindata...