Description Usage Arguments Value
Replace a Value in a vector/array
1 | remove_zeros(x, rem = 0, rep = 1)
|
x |
the array |
rem |
the value to replace, default 0 |
rep |
the value to replace with, default 1 |
the array with rem replaces with rep
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.