Package: incidentally 1.0.4

incidentally: Generates Incidence Matrices and Bipartite Graphs

Functions to generate incidence matrices and bipartite graphs that have (1) a fixed fill rate, (2) given marginal sums, (3) marginal sums that follow given distributions, or (4) represent bill sponsorships in the US Congress <doi:10.31219/osf.io/ectms>. It can also generate an incidence matrix from an adjacency matrix, or bipartite graph from a unipartite graph, via a social process mirroring team, group, or organization formation <doi:10.48550/arXiv.2204.13670>, or examine the space of binary matrices with fixed marginals.

Authors:Zachary Neal [aut, cre]

incidentally_1.0.4.tar.gz
incidentally_1.0.4.zip(r-4.7)incidentally_1.0.4.zip(r-4.6)incidentally_1.0.4.zip(r-4.5)
incidentally_1.0.4.tgz(r-4.6-any)incidentally_1.0.4.tgz(r-4.5-any)
incidentally_1.0.4.tar.gz(r-4.7-any)incidentally_1.0.4.tar.gz(r-4.6-any)
incidentally_1.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
incidentally/json (API)
NEWS

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

Bug tracker:https://github.com/zpneal/incidentally/issues

On CRAN:

Conda:

5.19 score 7 stars 11 scripts 270 downloads 8 exports 12 dependencies

Last updated from:893739f01f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK126
source / vignettesOK171
linux-release-x86_64OK120
macos-release-arm64OK89
macos-oldrel-arm64OK103
windows-develOK82
windows-releaseOK89
windows-oldrelOK73
wasm-releaseOK117

Exports:add.blockscurveballincidence.from.adjacencyincidence.from.congressincidence.from.distributionincidence.from.probabilityincidence.from.vectorspace

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrsxml2

Introduction to Incidentally

Rendered fromincidentally.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2025-08-07
Started: 2022-04-01

Working with US Congress bill sponsorship data

Rendered fromcongress.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2025-08-07
Started: 2022-06-01