View source: R/doby_utilities.R
truncate0 | R Documentation |
Truncate values in a matrix / vector to zero if they are below a certain threshold.
truncate0(x, tol = 0.6, sparse = TRUE)
x |
matrix / vector |
tol |
threshold |
sparse |
logical; if TRUE and |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.