bin2dec | R Documentation |
Useful when try to list all the binary patterns. One can group the binary sequences according to their equivalent decimal values.
bin2dec(binary_vector)
binary_vector |
a binary number |
a decimal number
bin2dec(c(1,0,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.