sparsity: Sparsity Count the non-zero coefficients

View source: R/utils.R

sparsityR Documentation

Sparsity Count the non-zero coefficients

Description

Sparsity Count the non-zero coefficients

Usage

sparsity(x, treshold = .Machine$double.eps)

Arguments

x

vector

treshold

threshold for zero

Value

number of non-zero values


edahelsinki/slise documentation built on Aug. 24, 2023, 11:03 p.m.