Learn R Programming

scvxclustr (version 0.1)

compactify_edges: Construct indices matrices

Description

compactify_edges constructs M1, M2, and ix index matrices. Note that storage conventions are different for ama and admm.

Usage

compactify_edges(w, n, method = "ama")

Arguments

w
weights vector
n
number of points to cluster
method
'ama' or 'admm'