Description Usage Arguments Details Value See Also Examples
Sum the digits of a number
1 |
x |
an integer |
return_char |
when |
This function works by splitting the number into its component digits, and creating a call to R that sums them.
the sum of all the individual digits of that integer
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.