https://github.com/kisungyou/networkdistance
Distance Measures for Networks
https://github.com/kisungyou/networkdistance
distance network network-analysis r
Last synced: about 1 month ago
JSON representation
Distance Measures for Networks
- Host: GitHub
- URL: https://github.com/kisungyou/networkdistance
- Owner: kisungyou
- License: other
- Created: 2018-05-01T21:59:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-20T19:41:40.000Z (about 2 years ago)
- Last Synced: 2025-04-09T12:22:23.133Z (6 months ago)
- Topics: distance, network, network-analysis, r
- Language: R
- Homepage: https://cran.r-project.org/web/packages/NetworkDistance/index.html
- Size: 18.7 MB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "88%"
)
```
# NetworkDistance[](https://CRAN.R-project.org/package=NetworkDistance)
[](https://cran.r-project.org/package=NetworkDistance)NetworkDistance package is a collection of **inter-graph** distance measures. Instead of graph distance that measures
the degree of farness between nodes within a graph, we consider each network as an object and compute distance between those objects.## Installation
You can install the released version of NetworkDistance from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("NetworkDistance")
```
or the development version from github:
```r
## install.packages("devtools")
## library(devtools)
devtools::install_github("kisungyou/NetworkDistance")
```## Currently Available Methods
We support following methds at this stage and the collection will be expanded continuously.|Function | Reference | Description |
|---------------|:--------------------------:|-------------------------------------------------|
|`nd.centrality`| Roy et al. (2014) | Distance by Network Centrality Measures |
|`nd.csd` | Ipsen and Mikhailov (2002) | $L_2$ Distance of Continuous Spectral Densities |
|`nd.dsd` | Wilson and Zhu (2008) | Discrete Spectral Distance |
|`nd.edd` | | Edge Difference Distance |
|`nd.extremal` | Jakobson and Rivin (2002) | Extremal Distance with Top-$k$ Eigenvalues |
|`nd.gdd` | Hammond et al. (2013) | Graph Diffusion Distance |
|`nd.graphon` | Mukherjee et al. (2017) | Graphon Estimates Distance |
|`nd.hamming` | Hamming (1950) | Hamming Distance |
|`nd.him` | Jurman et al. (2015) | Hamming-Ipsen-Mikhailov (HIM) Distance |
|`nd.moments` | Mukherjee et al. (2017) | Log Moments Distanec |
|`nd.nfd` | Bao et al. (2018) | Network Flow Distance |
|`nd.wsd` | Fay et al. (2010) | Distance with Weighted Spectral Distribution |