Skip to content

Commit

Permalink
fixed error in order of calculating bridge centralities bridgeClosene…
Browse files Browse the repository at this point in the history
…ss and bridgeBetweenness
  • Loading branch information
cvborkulo committed Oct 14, 2020
1 parent 1c87246 commit 5e23bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/NCT.R
Expand Up @@ -147,8 +147,8 @@ NCT <- function(data1, data2,
validCentrality <- c("closeness", "betweenness",
"strength", "expectedInfluence", "bridgeStrength",
"bridgeCloseness", "bridgeBetweenness", "bridgeExpectedInfluence")
bridgecen <- c("bridgeStrength", "bridgeCloseness",
"bridgeBetweenness", "bridgeExpectedInfluence")
bridgecen <- c("bridgeStrength", "bridgeBetweenness",
"bridgeCloseness", "bridgeExpectedInfluence")
centrality <- if(centrality[1]=="all") {
validCentrality
}else {
Expand Down

0 comments on commit 5e23bb1

Please sign in to comment.