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)

DASC documentation built on Nov. 17, 2017, 9:36 a.m.