q_rel | R Documentation |
Wrapper around assortnet function that takes a weighted, undirected network graph and returns the assortativity coefficient.
q_rel(graph_object)
graph_object |
an |
g <- simulate_graph(n_animals = 25, n_groups = 4, time_to_leave = 5, time_to_return = 2, travel_time = c(0.01, 0.2), samples_per_day = 1, sampling_duration = 7) q_rel(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.