Description Usage Arguments Details Value Author(s) Examples

`bin`

transforms a decimal number into a binary one in vectorial form.

1 | ```
bin(x)
``` |

`x` |
an integer |

`bin`

takes as input an integer and transforms it into the corresponding binary number. The output is a vector whose elements are the coefficients of increasing powers of 2, i.e., the *i*th item is the coefficient for *2^(i-1)*. For instance, `bin(4)`

returns *(0,0,1)*.

a vector of 0/1

Lucia Tamburino, Giangiacomo Bravo

1 |

frt documentation built on May 2, 2019, 6:34 a.m.

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.