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
DESCRIPTION |NEWS
card.svg |card.png
incidentally/json (API)

# 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.29 score 7 stars 14 scripts 227 downloads 8 exports 12 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK131
source / vignettesOK240
linux-release-x86_64OK120
macos-release-arm64OK112
macos-oldrel-arm64OK115
windows-develOK94
windows-releaseOK74
windows-oldrelOK74
wasm-releaseOK108

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

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrsxml2

Introduction to Incidentally
Table of Contents | Introduction | Welcome | What are incidence matrices? | Loading the package | Package overview | Fill and marginal constraints | Fill/Density | Marginal sums | Marginal distributions | Generative models | Teams model | Clubs model | Organizations model | Utilities | Randomization | State space | Block models | References

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

Working with US Congress bill sponsorship data
Table of Contents | Introduction [@neal2022legislative] | Welcome | The US legislative process | Types and areas of bills | Getting the data | Constructing a network | References

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