"betweenness" function not found

Issue #155 resolved
Former user created an issue

node.betweenness <- betweenness(net$network)

Error: could not find function "betweenness"

Comments (2)

  1. Xinqiu Yao

    Hi,

    The betweenness function comes from igraph package not bio3d. If you want to call this function (and also other igraph functions) in your own script/R session, call library(igraph) first. If you get the error like "there is no package called 'igraph'", install it from CRAN:

    Install.packages("igraph")
    
  2. Log in to comment