Inferential Methods for Multimodal and Other Networks
Overview
A set of tools for testing networks. It includes functions for univariate and multivariate conditional uniform graph and quadratic assignment procedure testing, and network regression. The package is a complement to 'Multimodal Political Networks' (2021, ISBN:9781108985000), and includes various datasets used in the book. Built on the 'manynet' package, all functions operate with matrices, edge lists, and 'igraph', 'network', and 'tidygraph' objects, and on one-mode and two-mode (bipartite) networks.
Package
- Fixed the attach-time version check so that it no longer leaves stale messages for up to a week
Models
- Fixed
play_diffusions()so that it drops, with a warning, runs where nothing spreads beyond the seed, instead of stopping with "arguments imply differing number of rows" - Set a seed in the
test_fit()test so that it does not fail at random
Tutorials
- Updated intro tutorial
- Added sections on types, missing data, indexing with
[,[[, and$, changing data frames withmutate()andfilter(), random numbers and seeds, reading errors and writing reproducible examples, and files and projects - Moved packages to a closing "Where next" section that points to the
{manynet}tutorials
Show all changes in 1.7.2Hide the rest of the changes in 1.7.2
- Replaced dead links, removed
T/Fshorthand, and fixed typos
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-20
- ERROR12 OK, 1 ERROR2026-09-13
- OK13 OK2026-08-05
- ERROR12 OK, 1 ERROR2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
Show 7 earlier changesHide 7 earlier changes
- OK13 OK2026-07-06
- ERROR12 OK, 1 ERROR2026-07-05
- OK13 OK2026-07-03
- ERROR12 OK, 1 ERROR2026-06-22
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 20 (3 internal)includes a package overview page
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- 79%
- Return-value docs
- 0%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 150
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
14 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/stocnet/migraph on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-09-17 · The repository has a site deploy workflow
pkgdown site last built 2026-09-17
Show all practicesHide 2 practices
Dependencies
Installing migraph adds 99 packages (52 with compiled code, 97 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.7.2Latest
- 1.7.02026-08-30 · diff ↗
- 1.6.82026-07-31 · diff ↗
- 1.6.6
- RR 4.6.0 released · 2026-04-24
- 1.6.2
- 1.6.0
- 1.5.82026-02-19 · diff ↗
- 1.5.62025-11-19 · diff ↗
- 1.5.32025-10-27 · diff ↗
- 1.5.22025-09-12 · diff ↗
- 1.5.02025-06-20 · diff ↗ ·
removed 9 exports
aes, ggplot, ggsave, ggtitle, guides, labs, scale_y_discrete, xlab, ylabadded 4 exports
over_membership, over_time, over_waves, play_diffusions - RR 4.5.0 released · 2025-04-11
- 1.4.52024-12-02 · diff ↗
- 1.4.3
- 1.4.22024-09-04 · diff ↗
Show 30 earlier eventsHide 30 earlier events
- 1.4.12024-07-19 · diff ↗ ·
removed 169 exports
.E, .G, .N, as.network, bind_edges, cluster_concor, cluster_hierarchical, edge_betweenness, edge_bridges, edge_closeness, edge_degree, edge_eigenvector, edge_loop, edge_multiple, edge_reciprocal, graph_adhesion, graph_assortativity, graph_balance, graph_betweenness, graph_blau_index, graph_closeness, graph_cohesion, graph_components, graph_congruency, graph_core, graph_degree, graph_density, graph_diameter, graph_diversity, graph_dyad_census and 139 moreadded 4 exports
net_regression, scale_y_discrete, test_distribution, test_fit - RR 4.4.0 released · 2024-04-24
- 1.3.42024-03-07 · diff ↗ ·
added 3 exports
node_brokering, node_brokering_activity, node_brokering_exclusivity - 1.3.22024-01-25 · diff ↗ ·
removed 24 exports
as_diffusion, is.igraph, node_is_core, node_is_cutpoint, node_is_exposed, node_is_fold, node_is_infected, node_is_isolate, node_is_latent, node_is_max, node_is_mentor, node_is_min, node_is_random, node_is_recovered, play_diffusion, play_diffusions, play_learning, play_segregation, tie_is_bridge, tie_is_loop, tie_is_max, tie_is_min, tie_is_multiple, tie_is_reciprocatedadded 12 exports
is_igraph, network_change, network_spatial, network_stability, node_deg, node_flow, node_fluid, node_induced, node_information, node_multidegree, node_posneg, node_roulette - 1.2.12023-12-17 · diff ↗ ·
removed 7 exports
activate, is_acyclic, is_aperiodic, is_bipartite, is_connected, is_eulerian, is_perfect_matchingadded 18 exports
as_diffusion, network_hazard, network_immunity, network_infection_length, network_reproduction, network_transmissibility, node_adopter, node_adoption_time, node_exposure, node_infection_length, node_is_exposed, node_is_fold, node_is_infected, node_is_latent, node_is_mentor, node_is_recovered, node_thresholds, test_gof - 1.1.52023-11-02 · diff ↗ ·
added 13 exports
network_connectedness, network_efficiency, network_richclub, network_upperbound, node_eccentricity, node_infomap, node_leading_eigen, node_leiden, node_louvain, node_neighbours_degree, node_optimal, node_spinglass, tie_cohesion - 1.1.02023-10-04 · diff ↗ ·
added 8 exports
network_harmonic, network_indegree, network_outdegree, network_reach, node_harmonic, node_indegree, node_outdegree, node_pagerank - 1.0.12023-07-20 · diff ↗
- 1.0.02023-06-15 · diff ↗ ·
removed 104 exports
add_edge_attribute, add_node_attribute, add_tie_attribute, as_edgelist, as_graphAM, as_igraph, as_matrix, as_network, as_siena, as_tidygraph, autographr, autographs, copy_node_attributes, create_complete, create_components, create_core, create_empty, create_lattice, create_ring, create_star, create_tree, edge_attribute, edge_signs, edge_weights, generate_permutation, generate_random, generate_scalefree, generate_smallworld, ggevolution, gglineage and 74 moreadded 10 exports
guides, k_elbow, k_silhouette, k_strict, network_heterophily, node_alpha, node_heterophily, over_time, over_waves, play_segregation - RR 4.3.0 released · 2023-04-21
- 0.13.2
- 0.13.02022-11-30 · diff ↗ ·
added 22 exports
autographs, is_aperiodic, is_eulerian, network_brokerage_census, network_richness, network_scalefree, node_brokerage_census, node_diversity, node_edge_betweenness, node_fast_greedy, node_homophily, node_is_random, node_reciprocity, node_richness, node_transitivity, node_walktrap, play_diffusion, play_diffusions, play_learning, to_components, to_egos, to_subgraphs - 0.12.1
- 0.12.02022-09-27 · diff ↗ ·
added 30 exports
network_adhesion, network_assortativity, network_balance, network_betweenness, network_closeness, network_cohesion, network_components, network_congruency, network_core, network_degree, network_density, network_diameter, network_dims, network_diversity, network_dyad_census, network_eigenvector, network_equivalency, network_factions, network_homophily, network_length, network_mixed_census, network_modularity, network_node_attributes, network_nodes, network_reciprocity, network_smallworld, network_tie_attributes, network_ties, network_transitivity, network_triad_census - 0.11.32022-09-13 · diff ↗ ·
removed 11 exports
blockmodel, blockmodel_concor, cluster_regular_equivalence, cluster_structural_equivalence, ggatyear, ggidentify_clusters, ggtree, group_tie_census, group_triad_census, reduce_graph, summarise_statisticsadded 12 exports
as_graphAM, graph_diversity, graph_homophily, layout_tbl_graph_alluvial, layout_tbl_graph_concentric, layout_tbl_graph_hierarchy, layout_tbl_graph_ladder, layout_tbl_graph_railway, node_core, to_giant, to_matching, to_twomode - 0.10.62022-07-03 · diff ↗ ·
removed 8 exports
add_edge_attributes, add_node_attributes, edge_mutual, ggdistrib, ggidentify, mutate_edges, project_cols, project_rowsadded 48 exports
add_edge_attribute, add_node_attribute, add_tie_attribute, cluster_concor, cluster_hierarchical, create_core, graph_core, graph_factions, graph_modularity, graph_tie_attributes, graph_ties, join_ties, layout_tbl_graph_stressgrid, node_automorphic_equivalence, node_bridges, node_coreness, node_efficiency, node_effsize, node_equivalence, node_hierarchy, node_is_cutpoint, node_is_isolate, node_is_max, node_is_min, node_kernighanlin, node_path_census, node_reach, node_redundancy, node_regular_equivalence, node_strong_components and 18 more - RR 4.2.0 released · 2022-04-22
- 0.9.32022-04-15 · diff ↗ ·
removed 1 export
filteradded 4 exports
edge_degree, edge_eigenvector, edge_reciprocal, graph_assortativity - 0.9.22022-04-01 · diff ↗ ·
removed 7 exports
cluster_triad_census, graph_clustering, graph_dimensions, grid.arrange, netlm, node_smallworld, test_cugadded 19 exports
edge_betweenness, edge_bridges, edge_closeness, edge_signs, glance, graph_adhesion, graph_cohesion, graph_diameter, graph_length, graph_smallworld, is_edgelist, join_edges, node_cuts, node_mode, tidy, to_edges, to_mode1, to_mode2, to_subgraph - 0.8.132021-12-19 · diff ↗ ·
removed 1 export
ggraphgridadded 42 exports
add_edge_attributes, add_node_attributes, aes, bind_edges, copy_node_attributes, edge_attribute, edge_loop, edge_multiple, edge_mutual, edge_weights, generate_permutation, graph_blau_index, graph_clustering, graph_dimensions, graph_dims, graph_edge_attributes, graph_edges, graph_ei_index, graph_mixed_census, graph_node_attributes, graph_nodes, is_acyclic, is_complex, is_graph, is_migraph, is_multiplex, is_uniplex, mutate_edges, network_reg, node_attribute and 12 more - 0.8.52021-10-30 · diff ↗ ·
added 20 exports
as_edgelist, create_lattice, create_tree, filter, generate_scalefree, generate_smallworld, ggdistrib, ggsave, graph_components, graph_congruency, graph_dyad_census, group_tie_census, group_triad_census, is_connected, layout_tbl_graph_frgrid, layout_tbl_graph_gogrid, layout_tbl_graph_kkgrid, node_components, xlab, ylab - 0.8.2
- 0.8.12021-10-22 · diff ↗ ·
removed 2 exports
graph_clustering, plot_releasesadded 33 exports
activate, autographr, blockmodel, cluster_regular_equivalence, cluster_structural_equivalence, cluster_triad_census, ggatyear, ggidentify, ggidentify_clusters, ggplot, ggtitle, ggtree, graph_balance, graph_density, graph_eigenvector, graph_equivalency, graph_reciprocity, graph_transitivity, graph_triad_census, grid.arrange, is_signed, mutate, node_tie_census, node_triad_census, read_edgelist, reduce_graph, to_main_component, to_named, to_onemode, to_simplex and 3 more - 0.7.1
- RR 4.1.0 released · 2021-05-18
- 0.6.62021-05-14 · diff ↗
- 0.6.5
- 0.6.32021-04-26 · diff ↗ ·
removed 1 export
sample_affiliationadded 7 exports
create_star, generate_random, is_directed, is_labelled, is_weighted, read_ucinet, write_ucinet - 0.6.22021-04-15
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-04-15
- Total releases
- 39 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 129 KB / 21 files
- Download size
- 3.3 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("migraph")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.5528178.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.