ra2ba | R Documentation |

Converts all values of the real valued array `x`

to binary values
by thresholding at 0.

```
ra2ba(x)
```

`x` |
array of arbitrary dimension |

Friedrich Leisch

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.