Sptree: Get Spanning tree from adjacency matrix

View source: R/DASC.R

SptreeR Documentation

Get Spanning tree from adjacency matrix

Description

Get Spanning tree from adjacency matrix

Usage

Sptree(ADJ)

Arguments

ADJ

the adjacency matrix of the factor

Value

ADJ the spaning tree of the adjacency matrix

Author(s)

Haidong Yi, Ayush T. Raman

Examples

W <- matrix(c(0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0), nrow=4)
Sptree(W)


aayushraman/DASC documentation built on May 9, 2023, 12:03 a.m.