| one_hot | R Documentation | 
Given a natural number, return the natural number equivalent to its one-hot encoding. Examples: 3 -> 100 -> 4, 5 -> 10000 -> 16
one_hot(nat)
nat | 
 the natural number to convert  | 
the converted number
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.