Implements node subsampling methods for multivariate inference on network moments (rescaled motif counts), including: uniform node subsampling to approximate the joint distribution of multiple network moments (Algorithm 1); externally sparsified moments for density-matched comparisons (Algorithm 2); and a two-sample test for unmatchable networks with unequal edge densities via a split-and-sparsify subsampling procedure (Algorithm 3). Built-in support for V-shape (2-star), triangle, and 3-star motifs, with a user-extensible interface for arbitrary additional motifs. Parallel execution is supported via 'doParallel' and 'foreach'. Based on Qi, Hua, Li and Zhou (2024) <doi:10.48550/arXiv.2409.01599>.
| Version: | 1.0.0 |
| Imports: | foreach, doParallel, parallel, stats |
| Suggests: | Matrix, randnet, testthat (≥ 3.0.0) |
| Published: | 2026-04-21 |
| DOI: | 10.32614/CRAN.package.netsubsamp |
| Author: | Mingyu Qi [aut], Chen-Wei Hua [aut], Tianxi Li [aut, cre], Wen Zhou [aut] |
| Maintainer: | Tianxi Li <tianxili at umn.edu> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| CRAN checks: | netsubsamp results |
| Reference manual: | netsubsamp.html , netsubsamp.pdf |
| Package source: | netsubsamp_1.0.0.tar.gz |
| Windows binaries: | r-devel: netsubsamp_1.0.0.zip, r-release: netsubsamp_1.0.0.zip, r-oldrel: netsubsamp_1.0.0.zip |
| macOS binaries: | r-release (arm64): netsubsamp_1.0.0.tgz, r-oldrel (arm64): netsubsamp_1.0.0.tgz, r-release (x86_64): netsubsamp_1.0.0.tgz, r-oldrel (x86_64): netsubsamp_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=netsubsamp to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.