https://github.com/corybrunson/bitriad

R package for triadic analysis of affiliation networks

https://github.com/corybrunson/bitriad

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary

Keywords

affiliation-networks bipartite-graphs clustering-coefficient igraph network-analysis r triad-census triad-closure
Last synced: 5 months ago · JSON representation

Repository

R package for triadic analysis of affiliation networks

Basic Info
Statistics
  • Stars: 4
  • Watchers: 2
  • Forks: 1
  • Open Issues: 7
  • Releases: 0
Topics
affiliation-networks bipartite-graphs clustering-coefficient igraph network-analysis r triad-census triad-closure
Created over 11 years ago · Last pushed almost 6 years ago
Metadata Files
Readme

README.md

bitriad

This repo constitutes an R package, and contains data and tools for the triadic analysis of affiliation networks.

Description

The paper Triadic analysis of affiliation networks makes a case for adopting a batch of triad-based tools for the study of (bipartite) affiliation networks. Most of the tools used therein are included in this package, which is built mostly on the igraph package. No new classes have been defined yet, but several back-end functions are written in C++ without reference to the igraph library. Any suggestions would be welcome.

Installation

The package is not yet on CRAN; it can be installed using the devtools package:

r devtools::install_github("corybrunson/bitriad")

Functionality

The package implements several tools from the paper, most importantly

  • triad_census(), which surveys the triads of an affiliation network and returns the census in a specified scheme; and
  • triad_closure(), which surveys the wedges of an affiliation network and returns either global or local proportions of wedges that are closed.

The parameters for these functions, in particular the census schemes and the definitions of wedge and closure, are thoroughly documented in help(triad_census) and help(triad_closure). Both functions pass to their corresponding functions in igraph when the input graph is not an affiliation network.

Datasets

Empirical affiliation networks from the following sources are included as datasets: * Davis(, Davis), Gardner, Gardner(, and St Clair Drake)'s Deep South: A Social Anthropological Study of Caste and Class, p. 148 (women_group) and p. 209 (women_clique); * Scott and Hughes' The Anatomy of Scottish Capital, specifically Table 2, covering 1920-21 (scotland1920s); * Galaskiewicz's Social Organization of an Urban Grants Economy, specifically a subset reproduced in Faust's "Centrality in affiliation networks" (minneapolis1970s); * Barnes and Burkett's "Structural Redundancy and Multiplicity in Corporate Networks" (chicago1960s); * Noordin Top Terrorist Network Data, using meetings (nmt_meetings) and organizations (nmt_organizations) as events; * Fischer's Paul Revere's Ride, Appendix D, as used in Han's "The Other Ride of Paul Revere" (whigs).

Documentation

The vignette southern_women outlines an analysis of women_clique and women_group using the censuses, some clustering coefficients, and other tools.

The full documentation is built into a bitriad website using pkgdown.

Owner

  • Name: Cory Brunson
  • Login: corybrunson
  • Kind: user
  • Location: Gainesville, FL
  • Company: @LaboratoryForSystemsMedicine

Mathematician by training, data scientist by testing. Relatively new to pretty much everything.

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 11
  • Total pull requests: 0
  • Average time to close issues: 9 days
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.64
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • corybrunson (11)
Pull Request Authors
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels