{
  "_id": "6a10364aacfb0bcc41c99ff3",
  "Package": "netseg",
  "Title": "Measures of Network Segregation and Homophily",
  "Version": "1.0-4",
  "Authors@R": "person(given = \"Michal\",\nfamily = \"Bojanowski\",\nrole = c(\"aut\", \"cre\"),\nemail = \"michal2992@gmail.com\",\ncomment = c(ORCID = \"0000-0001-7503-852X\"))",
  "Description": "Segregation is a network-level property such that edges\nbetween predefined groups of vertices are relatively less\nlikely. Network homophily is a individual-level tendency to\nform relations with people who are similar on some attribute\n(e.g. gender, music taste, social status, etc.). In general\nhomophily leads to segregation, but segregation might arise\nwithout homophily. This package implements descriptive indices\nmeasuring homophily/segregation. It is a computational\ncompanion to Bojanowski & Corten (2014)\n<doi:10.1016/j.socnet.2014.04.001>.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown=TRUE)",
  "VignetteBuilder": "knitr",
  "URL": "https://mbojan.github.io/netseg/",
  "BugReports": "https://github.com/mbojan/netseg/issues",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://mbojan.r-universe.dev",
  "Date/Publication": "2026-05-22 09:46:22 UTC",
  "RemoteUrl": "https://github.com/mbojan/netseg",
  "RemoteRef": "HEAD",
  "RemoteSha": "0c810eff09f358546a0396dacd0ea96725a80257",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 10:53:13 UTC",
    "User": "root"
  },
  "Author": "Michal Bojanowski [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7503-852X>)",
  "Maintainer": "Michal Bojanowski <michal2992@gmail.com>",
  "MD5sum": "54e8a522f771476d1b28ba1dd8d0a0ca",
  "_user": "mbojan",
  "_type": "src",
  "_file": "netseg_1.0-4.tar.gz",
  "_fileid": "fcec971a9c72d97f06d7433cf794295667830ad14ef705684226b70fb6b53e6c",
  "_filesize": 668996,
  "_sha256": "fcec971a9c72d97f06d7433cf794295667830ad14ef705684226b70fb6b53e6c",
  "_created": "2026-05-22T10:53:13.000Z",
  "_published": "2026-05-22T10:56:10.708Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77365674820,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158818807"
    },
    {
      "job": 77365674762,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158818697"
    },
    {
      "job": 77365674764,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7158809053"
    },
    {
      "job": 77365674814,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158806307"
    },
    {
      "job": 77365106276,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158780139"
    },
    {
      "job": 77365674785,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158820070"
    },
    {
      "job": 77365674798,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158805595"
    },
    {
      "job": 77365674812,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7158806119"
    },
    {
      "job": 77365674780,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158801798"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mbojan/netseg",
  "_commit": {
    "id": "0c810eff09f358546a0396dacd0ea96725a80257",
    "author": "Michał Bojanowski <michal2992@gmail.com>",
    "committer": "Michał Bojanowski <michal2992@gmail.com>",
    "message": "Correct gamix() by doubling the MM diagonal\n\nDoubling the diagonal is necessary as the measure counts half-ties\nrather than ties.\nUpdate the test too.\nCloses #21.\n",
    "time": 1779443182
  },
  "_maintainer": {
    "name": "Michal Bojanowski",
    "email": "michal2992@gmail.com",
    "login": "mbojan",
    "mastodon": "@mbojan@sciences.social",
    "linkedin": "in/mbojanowski",
    "orcid": "0000-0001-7503-852X",
    "twitter": "@mbojan",
    "description": "sociologist :: data scientist :: social networks analyst :: computational modeler :: seasoned R developer\n",
    "uuid": 636574
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "igraph",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    }
  ],
  "_owner": "mbojan",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 3
    }
  ],
  "_tags": [],
  "_topics": [
    "homophily",
    "segregation",
    "social-networks"
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "mbojan",
      "count": 159,
      "uuid": 636574
    },
    {
      "user": "carlcolglazier",
      "count": 1,
      "uuid": 9517688
    }
  ],
  "_userbio": {
    "uuid": 636574,
    "type": "user",
    "name": "Michał Bojanowski",
    "description": "sociologist :: data scientist :: social networks analyst :: computational modeler :: seasoned R developer"
  },
  "_downloads": {
    "count": 243,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/netseg"
  },
  "_devurl": "https://github.com/mbojan/netseg",
  "_pkgdown": "https://mbojan.github.io/netseg/",
  "_searchresults": 18,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/netseg.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mbojan/netseg",
  "_realowner": "mbojan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0-0",
      "date": "2021-02-17"
    },
    {
      "version": "1.0-1",
      "date": "2022-08-25"
    },
    {
      "version": "1.0-2",
      "date": "2023-07-01"
    },
    {
      "version": "1.0-3",
      "date": "2025-04-14"
    }
  ],
  "_exports": [
    "assort",
    "coleman",
    "ei",
    "fold",
    "freeman",
    "gamix",
    "group_sizes",
    "mixingdf",
    "mixingm",
    "orwg",
    "smi",
    "ssi",
    "symmetrize"
  ],
  "_datasets": [
    {
      "name": "Catania",
      "title": "Pattern of sexual contacts in AMEN study",
      "object": "Catania",
      "class": [
        "table"
      ],
      "fields": [
        "black",
        "hispanic",
        "other",
        "white"
      ],
      "rows": 4,
      "table": true,
      "tojson": false
    },
    {
      "name": "Classroom",
      "title": "Classroom network",
      "object": "Classroom",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "EF3",
      "title": "Example data from Figure III of Echenique and Fryer (2006)",
      "object": "EF3",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "WhiteKinship",
      "title": "White's data on Effective Kinship Networks",
      "object": "WhiteKinship",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "netseg-package",
      "title": "netseg: Measures of Network Segregation and Homophily",
      "topics": [
        "netseg-package",
        "netseg"
      ]
    },
    {
      "page": "assort",
      "title": "Assortativity Coefficient",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "assort",
        "assort.default",
        "assort.igraph",
        "assort.table"
      ]
    },
    {
      "page": "Catania",
      "title": "Pattern of sexual contacts in AMEN study",
      "topics": [
        "Catania"
      ]
    },
    {
      "page": "Classroom",
      "title": "Classroom network",
      "topics": [
        "Classroom"
      ]
    },
    {
      "page": "coleman",
      "title": "Coleman's homophily index",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "coleman",
        "coleman.default",
        "coleman.igraph",
        "coleman.table"
      ]
    },
    {
      "page": "EF3",
      "title": "Example data from Figure III of Echenique and Fryer (2006)",
      "topics": [
        "EF3"
      ]
    },
    {
      "page": "ei",
      "title": "Krackhard and Stern's E-I index",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "ei",
        "ei.default",
        "ei.igraph",
        "ei.table"
      ]
    },
    {
      "page": "fold",
      "title": "Folding square matrices around the diagonal",
      "topics": [
        "fold"
      ]
    },
    {
      "page": "freeman",
      "title": "Generalized Freeman's segregation index",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "freeman",
        "freeman.default",
        "freeman.igraph",
        "freeman.table"
      ]
    },
    {
      "page": "gamix",
      "title": "Gupta-Anderson-May measure of within-group mixing",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "gamix",
        "gamix.default",
        "gamix.igraph",
        "gamix.table"
      ]
    },
    {
      "page": "group_sizes",
      "title": "Computing group sizes from square mixing matrices",
      "topics": [
        "group_sizes"
      ]
    },
    {
      "page": "mixingm",
      "title": "Network mixing matrix",
      "topics": [
        "mixingdf",
        "mixingdf.igraph",
        "mixingdf.table",
        "mixingm",
        "mixingm.igraph"
      ]
    },
    {
      "page": "orwg",
      "title": "Odds ratio of existence of within-group ties",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "orwg",
        "orwg.default",
        "orwg.igraph",
        "orwg.table"
      ]
    },
    {
      "page": "smi",
      "title": "Segregation Matrix Index",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "smi",
        "smi.default",
        "smi.igraph",
        "smi.table"
      ]
    },
    {
      "page": "ssi",
      "title": "Spectral Segregation Index for Social Networks",
      "concept": [
        "segregation measures"
      ],
      "topics": [
        "ssi"
      ]
    },
    {
      "page": "symmetrize",
      "title": "Symmetrize square numeric matrix",
      "topics": [
        "symmetrize"
      ]
    },
    {
      "page": "WhiteKinship",
      "title": "White's data on Effective Kinship Networks",
      "topics": [
        "WhiteKinship"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mbojan/netseg/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mbojan/netseg/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "rlang",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "netseg.Rmd",
      "filename": "netseg.html",
      "title": "Network Segregation and Homophily",
      "author": "Michał Bojanowski",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data",
        "Mixing matrix",
        "Mixing data frames",
        "Measures",
        "Assortativity coefficient",
        "Coleman's homophily index",
        "E-I",
        "Freeman's segregation index",
        "Gupta-Anderson-May",
        "Odds-ratio",
        "Segregation Matrix Index",
        "Spectral segregation index",
        "References"
      ],
      "created": "2020-07-22 15:44:53",
      "modified": "2021-02-17 21:51:25",
      "commits": 7
    }
  ],
  "_score": 5.209515014542631,
  "_indexed": true,
  "_nocasepkg": "netseg",
  "_universes": [
    "mbojan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0-4",
      "date": "2026-05-22T10:55:22.000Z",
      "distro": "noble",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "d50e86f8e93a5980940748fbcd44b1125e90cd9a73b01dba96d7fa31c461d8cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0-4",
      "date": "2026-05-22T10:55:24.000Z",
      "distro": "noble",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "a6de2ffde936a7707c663532b1acdf5bde0868a3164c1a99a8ddcc777606624f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0-4",
      "date": "2026-05-22T10:54:52.000Z",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "62630fec4180e1a84edc07ec8535c1a2d9ff14682a42beeeaf39a50670f80e98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0-4",
      "date": "2026-05-22T10:54:45.000Z",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "a2d298b132cfdeea96f8cc8a9a2020427c56a07df2265bc6e2640594376e8a4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0-4",
      "date": "2026-05-22T10:55:48.000Z",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "32566fc72d368ba72a7ecba8811d62af4caaa0e9c94d6845e171fa44574fc35b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0-4",
      "date": "2026-05-22T10:54:31.000Z",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "5e9d8c140c249694b58a7584d3d8d71fde49fd252cb20fff93088ae0b70a2636",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0-4",
      "date": "2026-05-22T10:54:35.000Z",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "2d37619b44a84e73773159c7772d9911a789e446639c03b698889f43131e6a88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0-4",
      "date": "2026-05-22T10:54:20.000Z",
      "commit": "0c810eff09f358546a0396dacd0ea96725a80257",
      "fileid": "ad584ef33a4c9e75b4663445d8da93b87358597e41293940030b494d90e77629",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbojan/actions/runs/26283441105"
    }
  ]
}