Description Usage Arguments Details Value See Also Examples
Obtain the second most significant digits of numbers in numeric vectors or matrices.
1 | smsdigit(x)
|
x |
A numeric vector or matrix. |
For each non-zero, non-missing element of x that is greater than or equal to 10, smsdigit returns the second digit of that number's floating point representation of base 10. NA values in x generate NA values in the output of smsdigit.
smsdigit returns a numeric vector with length equal to the number of elements of x that are greater than or equal to 10 plus the number of NA values in x.
msdigit to obtain the most significant digits of numbers.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.