nscancor (version 0.6.1-25)

cardinality: Cardinality of Column Vectors

Description

Computes the cardinality (the sum of non-zero elements) of each column of the matrix \(\mathbf{w}\).

Usage

cardinality(w)

Arguments

w

a numeric matrix, e.g. xcoef as returned by nscancor