Useful when try to list all the binary patterns. One can group the binary sequences according to their equivalent decimal values.
Examples
bin2dec(c(1,0,1))
#> [1] 5
Useful when try to list all the binary patterns. One can group the binary sequences according to their equivalent decimal values.
bin2dec(c(1,0,1))
#> [1] 5