truncate0.Rd
Truncate values in a matrix / vector to zero if they are below a certain threshold.
truncate0(x, tol = 0.6, sparse = TRUE)
matrix / vector
threshold
logical; if TRUE and x is a matrix, return a sparse matrix
x