nscancor (version 0.6)

cardinality: Cardinality of Column Vectors

Description

Computes the cardinality (the sum of non-zero elements) of each column of the matrix $w$.

Usage

cardinality(w)

Arguments

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