Description Usage Arguments Value Examples

Determines the maximum difference between the cumulative degree distributions of two graphs

1 2 |

`adj_1` |
numeric matrix representing the adjacency matrix of graph 1. |

`adj_2` |
numeric matrix representing the adjacency matrix of graph 2. |

`weights_1, weights_2` |
numeric vector of edge weights for network 1 and 2, respectively. Optional. |

`mode_1, mode_2` |
character, either |

Distance between cumulative degree distributions.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
# get fluency data
data(animal_fluency)
# edge lists of fluency graphs
edge_list_1 = threshold_graph(animal_fluency[1:100])
edge_list_2 = threshold_graph(animal_fluency[101:200])
# get adjacency matrices
adj_1 = edg_to_adj(edge_list_1)
adj_2 = edg_to_adj(edge_list_2)
# get max degree distance
k_dist(adj_1, adj_2)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.