Skip to content

netseg

1.0-3

Measures of Network Segregation and Homophily

0packages depend
3.7Kdownloads / year
90.5%test coverage
13/13checks pass

Overview

About
Maintained by Michal BojanowskiFirst published 2021-02-174 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.37
90.5%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 310 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
88%
Return-value docs
100%
References docs
71%

Downloads

3.7K
CRAN downloads in the past year
Rank #13,576 · ~10/day · ~308/mo
Daily download trend is not available in this view yet.
21330 days
73890 days
3.7K1 year
Compare downloads with other packages →
Also on106 r2u5 autocran

Repository

Repository
19Stars
2Forks
2Open issues
1Open PRs
4Releases
163Commits
2Contributors
social-networkssegregationhomophilyr
163 commits · Last activity 2026-06-21 · 0% stars, 30d

Stars over time

2025-04-03 · 182026-07-07 · 19

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/mbojan/netseg on 2026-08-03.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0-3Latest
    2025-04-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0-2
    2023-07-01 · diff ↗
  • unarchivedReturned to CRAN
    2023-07-01
  • archivedRemoved from CRAN
    2023-06-30
    issues were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0-1
    2022-08-25 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0-0
    2021-02-17
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-17
Total releases
4 / 5 yrs
License
GPL-2 OSI
Minimum R
≥ 2.10
Bundled data
1.6 KB / 4 files
Download size
246 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("netseg")

CRAN DOI

https://doi.org/10.32614/CRAN.package.netseg

BibTeX, derived from DESCRIPTION

@Manual{netseg,
  title  = {netseg: Measures of Network Segregation and Homophily},
  author = {Bojanowski, Michal},
  year   = {2025},
  note   = {R package version 1.0-3},
  doi    = {10.32614/CRAN.package.netseg},
  url    = {https://CRAN.R-project.org/package=netseg}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorynetseg,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {netseg} version 1.0-3},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/netseg},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for netseg version 1.0-3 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/netseg

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for netseg version 1.0-3
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/netseg
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/netseg.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy