Learn R Programming

stops (version 1.9-1)

c_sparsity: c-sparsity

Description

Measures the c-sparsity structure

Usage

c_sparsity(conf, aggr = NULL)

Value

a numeric value; sparsity (see scagnostics)

Arguments

conf

A numeric matrix.

aggr

the aggregation function for configurations of more than two dimensions. Defaults to max.

Examples

Run this code
delts<-smacof::kinshipdelta
conf<-smacof::smacofSym(delts)$conf
plot(conf,pch=19,asp=1)
c_sparsity(conf)

Run the code above in your browser using DataLab