Skip to content

MoNAn

2.1.1Package record

Mobility Network Analysis

0packages depend
2.5Kdownloads / year
84.4%test coverage
13/13flavors OK

Overview

About

Implements the method to analyse weighted mobility networks or distribution networks as outlined in: Block, P., Stadtfeld, C., & Robins, G. (2022) doi:10.1016/j.socnet.2021.08.003. The purpose of the model is to analyse the structure of mobility, incorporating exogenous predictors pertaining to individuals and locations known from classical mobility analyses, as well as modelling emergent mobility patterns akin to structural patterns known from the statistical analysis of social networks. Version 2 runs the simulations in 'C++' (using 'Rcpp') and, besides stochastic approximation (Robbins-Monro), can estimate parameters with Geyer-Thompson MCMC maximum likelihood estimation.

Changes in 2.1.1

Bug fixes

  • The tests comparing C++ and R effects allow rounding differences on R built without long double (CRAN's "noLD" check), where R sums in double precision; elsewhere they still require identical values.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.1
READMEYes · 1,215 wordsVignettesNoNEWSYes · 100% structured · mentions 2.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
88 (65 internal)includes a package overview page
Examples that run
71%15 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran) · 1 hold no code
Exported functions with examples
25%
Documented parameters
26%
Return-value docs
100%
Help pages citing references
1%

Downloads

2.5K
CRAN downloads in the past year
Rank #15,343 · ~7/day · ~208/mo
Daily download trend is not available in this view yet.
37430 days
78290 days
2.5K1 year
Compare downloads with other packages →
Also on102 r2u9 autocran

Repository

16Stars
0Forks
5Open issues
0Open PRs
6Releases
619Commits
3Commit identities
License file reads as GPL-3.0 · 619 commits · Last activity 2026-10-12
Responsiveness
How these are sampled
PRs merged (all time)
97%
Median days to close, 50 most recently updated closed issues
5
Median days to close, 50 most recently updated closed PRs
0
PracticesBeta

Repository github.com/stocnet/monan is linked, but repository-practices checks have not run for it yet.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing MoNAn adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (1)
R >= 4.2
Imports (3)
methodsparallelRcpp
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (5)
Maintainer since 0.1.2 (2023), Author, Copyright holder
Author · added in 0.1.3
Author · added in 2.0.0
Releases (6)

Pick two releases to compare their code metrics.

  • 2.1.1Latest
    record
    2026-10-12 · current release · diff ↗ ·
    added 5 exports
    concentration_rankGW, concentration_basic_squared, concentration_norm, concentration_norm_squared, concentration_prop_orig_cov
  • 2.0.0
    record
    2026-10-11 · diff ↗ ·
    removed 6 exports
    concentration_prop_orig_cov, concentration_rankGW, concentration_basic_squared, concentration_norm, concentration_norm_squared, in_weights_exponent
    added 5 exports
    addFixedEffects, addDummyEffects, concentration_basic_cube, concentration_prop_AC, concentration_max
    ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-11 13:40 UTC, so it stayed less than the time between readings.
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.0
    record
    2024-09-12 · diff ↗ ·
    added 9 exports
    loops_AC, concentration_AC, concentration_AC_dyad_covar, concentration_AC_resource_covar_bin, reciprocity_AC, reciprocity_AC_dyad_covar_bin, reciprocity_AC_dyad_covar, transitivity_AC, in_weights_AC
  • 1.0.0
    record
    2024-04-25 · diff ↗ ·
    added 23 exports
    monanAlgorithmCreate, monanDependent, createEffects, addEffect, dyadicCovar, monanNodes, monanEdges, monadicCovar, monanDataCreate, monan07, monanEstimate, monanSimulate, monanGOF, print.processState.monan, print.effectsList.monan, concentration_GW_resource_covar_bin, concentration_basic_squared, concentration_norm, concentration_norm_squared, joining_similar_avoiding_dissimilar_covar_bin, joining_similar_avoiding_dissimilar_covar_cont, avoiding_dissimilar_covar_bin, avoiding_dissimilar_covar_cont
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.3
    record
    2024-02-05 · diff ↗ ·
    removed 1 export
    concentration_GW_dyad_covar_bin
    added 16 exports
    target_change_match, test_effect, loops_additional_origin, loops_x_loops_additional_origin, concentration_GW_dyad_covar, concentration_prop, concentration_prop_orig_cov, concentration_rankGW, reciprocity_min_dyad_covar, reciprocity_GW_dyad_covar, transitivity_basic, transitivity_GW, triad120D, triad120U, triad120C, in_weights_GW
  • 0.1.2
    record
    2023-08-29
  • R
    R 4.3.0 released · 2023-04-21
Across CRAN, the median accepted release of the past year spent 19 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2023-08-29
Total releases
6 / 3 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.2
Bundled data
577 KB / 9 files
Download size
2.4 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MoNAn")
Block, P., Hoffman, M., Keiser, N., Stadtfeld, C., & Wang, J. (2026). MoNAn: Mobility Network Analysis (Version 2.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.MoNAn

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 MoNAn version 2.1.1 [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