create_E_matrix: Create E matrix

View source: R/util.R

create_E_matrixR Documentation

Create E matrix

Description

create_E_matrix generates the edges matrix where the edges are denoted as l=(i,j).

Usage

create_E_matrix(n)

Arguments

n

Number of data observations

Value

E The edge matrix.

nK The number of non-zero weights.

Examples

n <- 10
E <- create_E_matrix(n)$E
nK <- create_E_matrix(n)$nK

JhZhang-1999/Rcvxclustr documentation built on Aug. 18, 2022, 9:25 a.m.