Sptree: Get Spanning tree from adjacency matrix

Description Usage Arguments Value Author(s) Examples

View source: R/DASC.R

Description

Get Spanning tree from adjacency matrix

Usage

1
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

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

HaidYi/DASC documentation built on May 3, 2019, 6:42 p.m.