r-dupnodes
"Duplicated nodes" method for social networks with self-loops
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: springer.com -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.8%) to scientific vocabulary
Repository
"Duplicated nodes" method for social networks with self-loops
Basic Info
- Host: GitHub
- Owner: JJ
- License: gpl-3.0
- Language: JavaScript
- Default Branch: master
- Size: 1.39 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
- Releases: 0
Metadata Files
README.md
R package: dupNodes <!-- badges: start -->
Browse this from the web or check out the generated documentation
If you have an undirected network with self loops, that is, nodes connected to themselves, the usual practice is to just drop them, eschewing thus the information they provide, whith is interesting for the evolution of the network as well as the relationship of centrality measures to status. What we propose in this package is a method that helps you take into account those edges when computing betweenness centrality.
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

in this way

which has exactly the same degree and connections; 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
R
library(devtools)
install_github("JJ/R-dupNodes")
Reference
Please cite this paper when using this package in your work
bibtex
@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 thedogesrpackage; this is the online versionvignette("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.
Owner
- Name: Juan Julián Merelo Guervós
- Login: JJ
- Kind: user
- Location: Granada, Spain, Europe
- Company: UGR + Raku
- Website: http://goo.gl/IlWG8U
- Twitter: jjmerelo
- Repositories: 1,174
- Profile: https://github.com/JJ
Developing since 1983
Citation (CITATIONS.cff)
cff-version: 1.1.0
message: "If you use this software, please cite it using these metadata."
authors:
- family-names: Merelo
given-names: JJ
orcid: "https://orcid.org/0000-0002-1385-9741"
- family-names: Molinari
given-names: M. Cristina
orcid: "https://orcid.org/0000-0002-6380-6795"
title: "Intra-family links in the analysis of marital networks"
version: 0.1.0
date-released: 2024-02-01
license: "CC0-1.0"
repository-code: "https://github.com/JJ/R-dupNodes"
GitHub Events
Total
- Issues event: 2
- Push event: 2
Last Year
- Issues event: 2
- Push event: 2
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| JJ Merelo | j****o@g****m | 138 |
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 24
- Total pull requests: 0
- Average time to close issues: 12 days
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.08
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: 18 minutes
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- JJ (20)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v4 composite
- actions/configure-pages v4 composite
- actions/deploy-pages v4 composite
- actions/jekyll-build-pages v1 composite
- actions/upload-pages-artifact v3 composite