Package: netseg 1.0-3

netseg: Measures of Network Segregation and Homophily

Segregation is a network-level property such that edges between predefined groups of vertices are relatively less likely. Network homophily is a individual-level tendency to form relations with people who are similar on some attribute (e.g. gender, music taste, social status, etc.). In general homophily leads to segregation, but segregation might arise without homophily. This package implements descriptive indices measuring homophily/segregation. It is a computational companion to Bojanowski & Corten (2014) <doi:10.1016/j.socnet.2014.04.001>.

Authors:Michal Bojanowski [aut, cre]

netseg_1.0-3.tar.gz
netseg_1.0-3.zip(r-4.5)netseg_1.0-3.zip(r-4.4)netseg_1.0-3.zip(r-4.3)
netseg_1.0-3.tgz(r-4.4-any)netseg_1.0-3.tgz(r-4.3-any)
netseg_1.0-3.tar.gz(r-4.5-noble)netseg_1.0-3.tar.gz(r-4.4-noble)
netseg_1.0-3.tgz(r-4.4-emscripten)netseg_1.0-3.tgz(r-4.3-emscripten)
netseg.pdf |netseg.html
netseg/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/mbojan/netseg/issues

Datasets:
  • Catania - Pattern of sexual contacts in AMEN study
  • Classroom - Classroom network
  • EF3 - Example data from Figure III of Echenique and Fryer
  • WhiteKinship - White's data on Effective Kinship Networks

On CRAN:

homophilysegregationsocial-networks

5.01 score 17 stars 12 scripts 191 downloads 13 exports 11 dependencies

Last updated 1 years agofrom:4ee09f11a1. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winOKOct 26 2024
R-4.5-linuxOKOct 26 2024
R-4.4-winOKOct 26 2024
R-4.4-macOKOct 26 2024
R-4.3-winOKOct 26 2024
R-4.3-macOKOct 26 2024

Exports:assortcolemaneifoldfreemangamixgroup_sizesmixingdfmixingmorwgsmissisymmetrize

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs

Network Segregation and Homophily

Rendered fromnetseg.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2021-02-17
Started: 2020-07-22

Readme and manuals

Help Manual

Help pageTopics
netseg: Measures of Network Segregation and Homophilynetseg-package netseg _PACKAGE
Assortativity Coefficientassort assort.default assort.igraph assort.table
Pattern of sexual contacts in AMEN studyCatania
Classroom networkClassroom
Coleman's homophily indexcoleman coleman.default coleman.igraph coleman.table
Example data from Figure III of Echenique and Fryer (2006)EF3
Krackhard and Stern's E-I indexei ei.default ei.igraph ei.table
Folding square matrices around the diagonalfold
Generalized Freeman's segregation indexfreeman freeman.default freeman.igraph freeman.table
Gupta-Anderson-May measure of within-group mixinggamix gamix.default gamix.igraph gamix.table
Computing group sizes from square mixing matricesgroup_sizes
Network mixing matrixmixingdf mixingdf.igraph mixingdf.table mixingm mixingm.igraph
Odds ratio of existence of within-group tiesorwg orwg.default orwg.igraph orwg.table
Segregation Matrix Indexsmi smi.default smi.igraph smi.table
Spectral Segregation Index for Social Networksssi
(De)symmetrize square numeric matrixsymmetrize
White's data on Effective Kinship NetworksWhiteKinship