Crandore Hub

netsubsamp

Multivariate Inference of Network Moments by Subsampling

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>.

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 netsubsamp_1.0.0.tar.gz 65.0 KiB
1.0.0 rolling linux/noble R-4.5 netsubsamp_1.0.0.tar.gz 64.9 KiB
1.0.0 rolling source/ R- netsubsamp_1.0.0.tar.gz 18.2 KiB
1.0.0 latest linux/jammy R-4.5 netsubsamp_1.0.0.tar.gz 65.0 KiB
1.0.0 latest linux/noble R-4.5 netsubsamp_1.0.0.tar.gz 64.9 KiB
1.0.0 latest source/ R- netsubsamp_1.0.0.tar.gz 18.2 KiB
1.0.0 2026-04-26 source/ R- netsubsamp_1.0.0.tar.gz 18.2 KiB
1.0.0 2026-04-23 source/ R- netsubsamp_1.0.0.tar.gz 18.2 KiB

Dependencies (latest)

Imports

Suggests