dropLeadingZero | R Documentation |
Drop leading zeros Remove leading zeroes and return as a character object.
dropLeadingZero(x)
x |
Numeric vector, matrix, or list to remove leading zeros from. |
A character vector, matrix, or list, with numbers with leading zeros removed.
dropLeadingZero(c(-1,0,1,0.5,-0.5,1.5,-1.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.