r - How to create a path.length.hist diagram? -
with igraph/r create diagram shows path lenght histogram. can histogram values through path.length.hist
-command, don't know how plot results. great if me find right code that.
these values:
$res [1] 7058 83638 124106 97151 43111 4630 354 7 $unconnected [1] 32447
not sure if want achieve, can try :
tab <- as.table(path.length.hist(g)$res) names(tab) <- 1:length(tab) barplot(tab)
Comments
Post a Comment