cardinality {nsprcomp}R Documentation

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


[Package nsprcomp version 0.5.1-2 Index]