base | R Documentation |
transform decimal integer to other number mode, such as binary
(radix = 2
)
base(x, radix, n.digit)
x |
integer scalar. The number to transform |
radix |
integer scalar. radix of the target number, 2 for binary, 8 for octal, etc. |
n.digit |
integer scalar. how many digits the result contains, unused uppper digits are filled by 0 |
integer. each scalar of the vector represent one digit of the transformed number
## Not run: base(443L, 3L, 6L) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.