Description Usage Arguments Value Examples

Transform distance matrix in edge properties of minimal spanning tree

1 | ```
edge_count_global_variables(d, n1, k = 1L)
``` |

`d` |
A matrix of dimension |

`n1` |
An integer giving the size of the first sample. |

`k` |
An integer specifying the density of the minimal spanning tree to generate. |

A list of edge properties of the minimal spanning tree.

1 2 3 4 5 6 | ```
n1 <- 30L
n2 <- 10L
x <- nvd("smallworld", n1)
y <- nvd("pa", n2)
d <- dist_nvd(x, y, representation = "laplacian", distance = "frobenius")
e <- edge_count_global_variables(d, n1, k = 5L)
``` |

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.