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