Package: signnet 1.0.6

signnet: Methods to Analyse Signed Networks

Methods for the analysis of signed networks. This includes several measures for structural balance as introduced by Cartwright and Harary (1956) <doi:10.1037/h0046049>, blockmodeling algorithms from Doreian (2008) <doi:10.1016/j.socnet.2008.03.005>, various centrality indices, and projections of signed two-mode networks introduced by Schoch (2020) <doi:10.1080/0022250X.2019.1711376>.

Authors:David Schoch [aut, cre]

signnet_1.0.6.tar.gz
signnet_1.0.6.zip(r-4.7)signnet_1.0.6.zip(r-4.6)signnet_1.0.6.zip(r-4.5)
signnet_1.0.6.tgz(r-4.6-x86_64)signnet_1.0.6.tgz(r-4.6-arm64)signnet_1.0.6.tgz(r-4.5-x86_64)signnet_1.0.6.tgz(r-4.5-arm64)
signnet_1.0.6.tar.gz(r-4.7-arm64)signnet_1.0.6.tar.gz(r-4.7-x86_64)signnet_1.0.6.tar.gz(r-4.6-arm64)signnet_1.0.6.tar.gz(r-4.6-x86_64)
signnet_1.0.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
signnet/json (API)
NEWS

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

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

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

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • avatar - Signed networks from Avatar: The Last Airbender
  • cowList - Signed networks from Correlates of War
  • tribes - Signed network of New Guinean highland tribes

On CRAN:

Conda:

network-analysissigned-networkssnacpp

7.47 score 23 stars 53 scripts 335 downloads 30 exports 13 dependencies

Last updated from:2b77cc8978. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK197
linux-devel-x86_64OK187
source / vignettesOK273
linux-release-arm64OK195
linux-release-x86_64OK187
macos-release-arm64OK103
macos-release-x86_64OK268
macos-oldrel-arm64OK118
macos-oldrel-x86_64OK283
windows-develOK219
windows-releaseOK482
windows-oldrelOK158
wasm-releaseOK150

Exports:as_adj_complexas_adj_signedas_complex_edgesas_incidence_complexas_incidence_signedas_signed_projas_unsigned_2modebalance_scorecomplex_walkscount_complex_trianglescount_signed_trianglesdegree_signedeigen_centrality_signedfrustration_exactggblockggsignedgraph_circular_signedgraph_from_adjacency_matrix_signedgraph_from_edgelist_signedis_signedlaplacian_matrix_complexlaplacian_matrix_signedpn_indexsample_bipartite_signedsample_gnp_signedsample_islands_signedsigned_blockmodelsigned_blockmodel_generalsigned_trianglestriad_census_signed

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigRcppRcppArmadillorlangvctrs

Signed Networks

Rendered fromsigned_networks.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2025-11-06
Started: 2020-01-07

Structural Balance

Rendered fromstructural_balance.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2022-11-03
Started: 2020-01-07

Blockmodeling

Rendered fromblockmodeling.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2025-11-06
Started: 2020-01-07

Centrality

Rendered fromcentrality.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2020-01-07
Started: 2020-01-07

Signed Two-Mode Networks

Rendered fromsigned_2mode.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2022-11-04
Started: 2020-01-07

Complex Matrices

Rendered fromcomplex_matrices.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2025-11-06
Started: 2020-01-07

Readme and manuals

Help Manual

Help pageTopics
Convert a signed graph to a complex adjacency matrixas_adj_complex
Convert a signed graph to a signed adjacency matrixas_adj_signed
Convert Signed Network to Complexas_complex_edges
Complex Incidence Matrixas_incidence_complex
Convert a signed two-mode network to a signed matrixas_incidence_signed
convert unsigned projection to signedas_signed_proj
convert signed two-mode network to unsignedas_unsigned_2mode
Signed networks from Avatar: The Last Airbenderavatar
balancedness of signed networkbalance_score
Count Walks in complex signed networkcomplex_walks
count complex trianglescount_complex_triangles
count signed trianglescount_signed_triangles
Signed networks from Correlates of WarcowList
Signed Degreedegree_signed
Signed Eigenvector centralityeigen_centrality_signed
Exact frustration index of a signed networkfrustration_exact
Plot Blockmodel matrixggblock
Plot a signed or complex networkggsigned
circular signed graphgraph_circular_signed
Create signed graphs from adjacency matricesgraph_from_adjacency_matrix_signed
Create a signed graph from an edgelist matrixgraph_from_edgelist_signed
Check if network is a signed networkis_signed
Complex Graph Laplacianlaplacian_matrix_complex
Signed Graph Laplacianlaplacian_matrix_signed
PN Centrality Indexpn_index
Bipartite random signed graphssample_bipartite_signed
Generate random signed graphs according to the G(n,p) Erdos-Renyi modelsample_gnp_signed
A graph with random subgraphs connected by negative edgessample_islands_signed
Blockmodeling for signed networkssigned_blockmodel
Generalized blockmodeling for signed networkssigned_blockmodel_general
list signed trianglessigned_triangles
signed triad censustriad_census_signed
Signed network of New Guinean highland tribestribes