Learn R Programming

hierformR (version 0.1.0)

stateid: Find State ID

Description

Find State ID

Usage

stateid(x)

Arguments

x
a vector of network characteristics generated by get_statespace function

Value

the state id corresponding to the network characteristics

Examples

Run this code
g=igraph::graph.edgelist(cbind(a=c(1,2,3,3), b=c(4,1,1,2)),directed=TRUE)
gs=netchar(g)
stateid(gs)

Run the code above in your browser using DataLab