Skip to content

migraph

1.7.2Package record

Inferential Methods for Multimodal and Other Networks

0packages dependsuggested by 2
10.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.7.2

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 with mutate() and filter(), 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/F shorthand, and fixed typos

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.4 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.7.2
READMEYes · 834 wordsVignettesNoNEWSYes · 100% structured · mentions 1.7.2Citation fileYes · software entry onlyWebsiteYes · pkgdown
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

10.7K
CRAN downloads in the past year
Rank #4,032 · ~29/day · ~889/mo
Daily download trend is not available in this view yet.
88130 days
2.2K90 days
10.7K1 year
Compare downloads with other packages →
Also on208 r2u10 autocran

Repository

41Stars
9Forks
0Open issues
0Open PRs
94Releases
2,318Commits
15Commit identities
rnetwork-analysismultilevel-networkscranmultimodal-networkigraphsna
2,318 commits · Last activity 2026-09-17 · 0% stars, 30d · Discussions: 1 post
Responsiveness
How these are sampled
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

2025-03-21 · 412026-07-25 · 41
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (4)
Code of conductContributing guideIssue templatesPR template
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-17 · The repository has a site deploy workflow

pkgdown site last built 2026-09-17

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (2)
Lint workflowRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

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.

Depends (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (4)
Maintainer since 0.6.2 (2021), Author, Contributor
IHEID
Contributor · added in 0.8.13
Contributor · added in 0.9.2
IHEID
Contributor · added in 0.9.2
IHEID
Releases (39)

Pick two releases to compare their code metrics.

Show 30 earlier eventsHide 30 earlier events
  • 1.4.1
    record
    2024-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 more
    added 4 exports
    net_regression, scale_y_discrete, test_distribution, test_fit
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.4
    record
    2024-03-07 · diff ↗ ·
    added 3 exports
    node_brokering, node_brokering_activity, node_brokering_exclusivity
  • 1.3.2
    record
    2024-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_reciprocated
    added 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.1
    record
    2023-12-17 · diff ↗ ·
    removed 7 exports
    activate, is_acyclic, is_aperiodic, is_bipartite, is_connected, is_eulerian, is_perfect_matching
    added 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.5
    record
    2023-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.0
    record
    2023-10-04 · diff ↗ ·
    added 8 exports
    network_harmonic, network_indegree, network_outdegree, network_reach, node_harmonic, node_indegree, node_outdegree, node_pagerank
  • 1.0.1
    record
    2023-07-20 · diff ↗
  • 1.0.0
    record
    2023-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 more
    added 10 exports
    guides, k_elbow, k_silhouette, k_strict, network_heterophily, node_alpha, node_heterophily, over_time, over_waves, play_segregation
  • R
    R 4.3.0 released · 2023-04-21
  • 0.13.2
    record
    2022-12-20 · diff ↗ ·
    added 3 exports
    as_siena, read_dynetml, read_matrix
  • 0.13.0
    record
    2022-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
    record
    2022-10-04 · diff ↗ ·
    added 4 exports
    is_perfect_matching, node_is_core, node_power, to_anti
  • 0.12.0
    record
    2022-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.3
    record
    2022-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_statistics
    added 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.6
    record
    2022-07-03 · diff ↗ ·
    removed 8 exports
    add_edge_attributes, add_node_attributes, edge_mutual, ggdistrib, ggidentify, mutate_edges, project_cols, project_rows
    added 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
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.3
    record
    2022-04-15 · diff ↗ ·
    removed 1 export
    filter
    added 4 exports
    edge_degree, edge_eigenvector, edge_reciprocal, graph_assortativity
  • 0.9.2
    record
    2022-04-01 · diff ↗ ·
    removed 7 exports
    cluster_triad_census, graph_clustering, graph_dimensions, grid.arrange, netlm, node_smallworld, test_cug
    added 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.13
    record
    2021-12-19 · diff ↗ ·
    removed 1 export
    ggraphgrid
    added 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.5
    record
    2021-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
    record
    2021-10-25 · diff ↗ ·
    added 2 exports
    labs, to_multilevel
  • 0.8.1
    record
    2021-10-22 · diff ↗ ·
    removed 2 exports
    graph_clustering, plot_releases
    added 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
    record
    2021-09-25 · diff ↗ ·
    added 3 exports
    ggevolution, gglineage, ggraphgrid
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.6
    record
    2021-05-14 · diff ↗
  • 0.6.5
    record
    2021-05-10 · diff ↗ ·
    added 3 exports
    plot_releases, to_unnamed, to_unweighted
  • 0.6.3
    record
    2021-04-26 · diff ↗ ·
    removed 1 export
    sample_affiliation
    added 7 exports
    create_star, generate_random, is_directed, is_labelled, is_weighted, read_ucinet, write_ucinet
  • 0.6.2
    record
    2021-04-15
  • R
    R 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
Appears in task views

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for migraph version 1.7.2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy