Description Usage Arguments Value
Trim leading or trailing zeros in a vector
1 | TrimZeros(x, trim = "fb")
|
x |
A numerical vector |
trim |
A string with "f" representing trim from front and "b" to trim from back. Default is "fb", trim zeros from both front and back of the array. |
The result of trimming the input
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.