snha_get_chains: Return the chains of an snha graph as data frame

snha_get_chainsR Documentation

Return the chains of an snha graph as data frame

Description

This is a utility function to return the chains which constructs the graph as a matrix.

Usage

snha_get_chains(graph)

Arguments

graph

a snha graph object

Value

matrix with one chain per row, shorter chains are filled up with empty strings

Examples

 
data(swiss) 
sw.g=snha(swiss) 
snha_get_chains(sw.g) 

snha documentation built on March 31, 2023, 11:58 p.m.