View source: R/module_summary.R
module_summary | R Documentation |
Calculates nodes-per-module and modules-per-network on a list of graphs with defined memberships
network_list |
a list of 'igraph' graph objects with community memberships. |
a data.frame where each row corresponds the the nth element of the network_list.
g1 <- simulate_graph(n_animals = 12, n_groups = 3, time_to_leave = 4, time_to_return = 1, travel_time = c(0.001, 0.002), sampling_duration = 30, sampler = "discrete", samples_per_day = 1) g2 <- simulate_graph(n_animals = 12, n_groups = 3, time_to_leave = 4, time_to_return = 1, travel_time = c(0.001, 0.002), sampling_duration = 30, sampler = "discrete", samples_per_day = 1) g_list <- list(g1, g2) module_summary(g_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.