snha_get_chains {snha}R 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) 

[Package snha version 0.1.3 Index]