R/utils.R
sparsity.Rd
Sparsity Count the non-zero coefficients
sparsity(x, treshold = .Machine$double.eps)
vector
threshold for zero
number of non-zero values