nsprcomp (version 0.5.1-2)

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. the rotation matrix of a sparse PCA analysis