Package: netrankr 1.2.4

David Schoch

netrankr: Analyzing Partial Rankings in Networks

Implements methods for centrality related analyses of networks. While the package includes the possibility to build more than 20 indices, its main focus lies on index-free assessment of centrality via partial rankings obtained by neighborhood-inclusion or positional dominance. These partial rankings can be analyzed with different methods, including probabilistic methods like computing expected node ranks and relative rank probabilities (how likely is it that a node is more central than another?). The methodology is described in depth in the vignettes and in Schoch (2018) <doi:10.1016/j.socnet.2017.12.003>.

Authors:David Schoch [aut, cre], Julian Müller [ctb]

netrankr_1.2.4.tar.gz
netrankr_1.2.4.zip(r-4.7)netrankr_1.2.4.zip(r-4.6)netrankr_1.2.4.zip(r-4.5)
netrankr_1.2.4.tgz(r-4.6-x86_64)netrankr_1.2.4.tgz(r-4.6-arm64)netrankr_1.2.4.tgz(r-4.5-x86_64)netrankr_1.2.4.tgz(r-4.5-arm64)
netrankr_1.2.4.tar.gz(r-4.7-arm64)netrankr_1.2.4.tar.gz(r-4.7-x86_64)netrankr_1.2.4.tar.gz(r-4.6-arm64)netrankr_1.2.4.tar.gz(r-4.6-x86_64)
netrankr_1.2.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
netrankr/json (API)

# Install 'netrankr' in R:
install.packages('netrankr', repos = c('https://cynkra.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/schochastics/netrankr/issues

Pkgdown/docs site:https://schochastics.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

network-analysisnetwork-centralityopenblascppopenmp

10.07 score 49 stars 2 packages 112 scripts 4.9k downloads 35 exports 13 dependencies

Last updated from:64282f46c1. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK204
linux-devel-x86_64OK197
source / vignettesOK299
linux-release-arm64OK189
linux-release-x86_64OK176
macos-release-arm64OK218
macos-release-x86_64OK283
macos-oldrel-arm64OK132
macos-oldrel-x86_64OK271
windows-develOK223
windows-releaseOK183
windows-oldrelOK178
wasm-releaseOK155

Exports:aggregate_positionsapprox_rank_expectedapprox_rank_relativecomparable_pairscompare_ranksdist_2powdist_dpowdist_invdist_powddominance_graphexact_rank_probget_rankingshyperbolic_indexincomparable_pairsindex_builderindirect_relationsis_preservedmajorization_gapmcmc_rank_probneighborhood_inclusionpositional_dominancerank_intervalsspectral_gapswan_closenessswan_combinatoryswan_connectivityswan_efficiencythreshold_graphtransitive_reductionwalks_attenuatedwalks_expwalks_exp_evenwalks_exp_oddwalks_limit_propwalks_uptok

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigRcppRcppArmadillorlangvctrs

Indirect relations in networks
Theoretical Background | Indirect relations in the netrankr package

Last update: 2023-12-15
Started: 2017-07-13

Use Case: Florentine Families
Data | Most central family (Index approach) | Most central family (Dominance approach) | Centrality as explanatory variable (Index approach) | Centrality as explanatory variable (Dominance approach)

Last update: 2023-08-20
Started: 2017-08-04

Partial Centrality
Rank intervals

Last update: 2022-09-24
Started: 2017-07-17

Benchmark Results
Runtimes exact probabilities | Approximating expected ranks | Approximating relative ranks | MCMC sampling of rankings | Runtimes of approximation | Session info

Last update: 2022-09-20
Started: 2017-09-02

Neighborhood-inclusion in networks
Theoretical Background | Neighborhood-inclusion in the netrankr Package | Centrality and Neighborhood-inclusion

Last update: 2021-08-24
Started: 2017-04-25

Uniquely ranked graphs
Theoretical Background | Uniquely Ranked Graphs in the netrankr Package | Correlation and Threshold Graphs | Distances from a threshold graph

Last update: 2021-08-24
Started: 2017-04-25

Probabilistic Centrality
Theoretical Background | Exact Probabilities in the netrankr Package | Rank Probabilities | Relative Rank Probabilities

Last update: 2021-08-24
Started: 2017-07-20

Positional dominance in networks
Theoretical Background | Positional Dominance in the netrankr Package

Last update: 2021-07-15
Started: 2017-05-06

Centrality indices
Theoretical Background | Building indices with the netrankr package

Last update: 2021-07-12
Started: 2017-07-17

Readme and manuals

Help Manual

Help pageTopics
Quantification of (indirect) relationsaggregate_positions
Approximation of expected ranksapprox_rank_expected
Approximation of relative rank probabilitiesapprox_rank_relative
Extract probabilities from netrankr_full objectas.matrix.netrankr_full
Comparable pairs in a partial ordercomparable_pairs
Count occurrences of pairs in rankingscompare_ranks
dbces11 graphdbces11
Partial ranking as directed graphdominance_graph
Probabilistic centrality rankingsexact_rank_prob
Florentine family marriage networkflorentine_m
Rankings that extend a partial rankingget_rankings
Hyperbolic (centrality) indexhyperbolic_index
Incomparable pairs in a partial orderincomparable_pairs
Centrality Index Builderindex_builder
Indirect relations in a networkindirect_relations
Check preservationis_preserved
Majorization gapmajorization_gap
Estimate rank probabilities with Markov Chainsmcmc_rank_prob
Neighborhood-inclusion preorderneighborhood_inclusion
Plot rank intervalsplot_rank_intervals
Plot netrankr_full objectplot.netrankr_full
plot netrankr_interval objectsplot.netrankr_interval
Plot netrankr_mcmc objectplot.netrankr_mcmc
Generalized Dominance Relationspositional_dominance
Print netrankr_full object to terminalprint.netrankr_full
Print netrankr_interval object to terminalprint.netrankr_interval
Print netrankr_mcmc object to terminalprint.netrankr_mcmc
Rank interval of nodesrank_intervals
Spectral gap of a graphspectral_gap
Summary of a netrankr_full objectsummary.netrankr_full
Impact on closeness when a node is removedswan_closeness
Error and attack tolerance of complex networksswan_combinatory
Impact on connectivity when a node is removedswan_connectivity
Impact on farness when a node is removedswan_efficiency
Random threshold graphsthreshold_graph
Transform indirect relationsdist_2pow dist_dpow dist_inv dist_powd transform_relations walks_attenuated walks_exp walks_exp_even walks_exp_odd walks_limit_prop walks_uptok
Transitive Reductiontransitive_reduction