Computes DNSLbetweenness, a Betweenness Measure that Includes Self-Loops

Computes a new measure, DNSL betweenness, via the creation of a new graph from an existing one, duplicating nodes with self-loops. This betweenness centrality does not drop this essential information. Implements Merelo & Molinari (2024) .


R package: dupNodes

CRAN status Check and test package

Browse this from the web or browse the generated documentation

dupNodes is the companion package to paper "Intra-family links in the analysis of marital networks", with reference here.

It creates duplicates of nodes that have self loops in undirected graphs such as the one here

A with self loop

in this way

Duplicated node

which has exactly the same degree; in this way, the weights of these self-loops can be taken into account when computing centrality measures such as betweenness.

Installation

Install released versions from CRAN as usual, or development version from here

library(devtools)
install_github("JJ/R-dupNodes")

Reference

Please cite this paper when using this package in your work

@Article{mm24:intra_family_links,
  author =       {Merelo, J.J. and Molinari, M.C. },
  title =        {Intra-family links in the analysis of marital networks},
  journal =      {Journal of computational social science},
  year =         2024,
  url= {https://link.springer.com/epdf/10.1007/s42001-023-00245-4},
  doi= {https://doi.org/10.1007/s42001-023-00245-4},
  month =     {January}
}

Examples

There are some examples explained in vignettes. Use vignette("dupNodes") to access all of chem, or individually:

  • vignette("doges-social-network") to apply functions here to data from the dogesr package; this is the online version
  • vignette("florentine-social-network"), which uses data from the well-known Florentine social network, with a (documented) self-loop added; browse it in CRAN

License

The contents of this repository are (c) JJ Merelo, 2024, and are released under the GPL 3 license.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dupNodes")

0.3.0 by Juan Julián Merelo-Guervós, 2 years ago


Browse source code at https://github.com/cran/dupNodes


Authors: Juan Julián Merelo-Guervós


Documentation:   PDF Manual  


GPL-3 license


Imports igraph, Rdpack

Suggests testthat, knitr, qpdf, rmarkdown, dogesr


See at CRAN