Skip to content

Commit cf7ffc3

Browse files
committed
fixed bug in visualize network
1 parent 4553576 commit cf7ffc3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎R/ThreadNet_Metrics.R‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
estimate_network_complexity <- function(net){ return(estimate_task_complexity_index( nrow(net$nodeDF), nrow(net$edgeDF)) ) }
1919

2020
# returns a string with the number of nodes and edges in the network
21+
#' @title returns a string with the number of nodes and edges in the network
22+
#' @description returns a string with the number of nodes and edges
23+
#' @name print_network_nodes_edges
24+
#' @param net Object with dataframe for nodes and edges
25+
#' @return string
26+
#' @export
2127
print_network_nodes_edges <- function(net){ return(paste0('Number of nodes = ', nrow(net$nodeDF),' Number of edges = ', nrow(net$edgeDF) ) ) }
2228

2329

0 commit comments

Comments
 (0)