truncate0 {doBy} | R Documentation |
Truncate values in a matrix / vector to zero if they are below a certain threshold.
Description
Truncate values in a matrix / vector to zero if they are below a certain threshold.
Usage
truncate0(x, tol = 0.6, sparse = TRUE)
Arguments
x |
matrix / vector |
tol |
threshold |
sparse |
logical; if TRUE and |
[Package doBy version 4.6.22 Index]