← Back to home
Comparison · Analytics

fastrg vs sdsfun

A side-by-side editorial comparison of fastrg and sdsfun — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

fastrg vs sdsfun: at a glance

Featurefastrgsdsfun
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesrandom-graphs, stochastic-blockmodels, network-sampling, sparse-matricesspatial-statistics, geodetector, spatial-clustering, rcpp
Last editorial update48m ago1h ago
WebsiteVisit →Visit →

What is fastrg?

A fast random-graph sampler that spent 0.3.1 fixing what its parameters actually mean.

fastRG samples from generalized random dot product graphs — stochastic blockmodels, degree-corrected and overlapping variants, directed and undirected — in time proportional to the number of edges rather than nodes squared, which is what makes large sparse networks tractable. Since 0.3.1 the model is constructed and parameterised in one object, with sampling methods taking that object rather than re-specifying edge distribution at sample time.

Read the full fastrg trajectory →

What is sdsfun?

A spatial-statistics utility package exists to be depended on, and is built accordingly.

sdsfun collects spatial data science utilities — neighbour lists, spatial constrained clustering, discretization, dummy variable generation, geographical detector statistics and projection helpers — with the computationally heavy parts implemented in Rcpp. It was assembled quickly across late 2024, adding a function set roughly every three weeks, and has slowed since to a couple of releases a year. The most recent work is corrective: no longer initializing the RNG state at load, fixing matrix inputs misread as vectors, and clearing an Armadillo deprecation.

Read the full sdsfun trajectory →

fastrg vs sdsfun: editorial side-by-side

F
fastrg
ANALYTICS
0.0

A fast random-graph sampler that spent 0.3.1 fixing what its parameters actually mean.

◆ Current state

fastRG samples from generalized random dot product graphs — stochastic blockmodels, degree-corrected and overlapping variants, directed and undirected — in time proportional to the number of edges rather than nodes squared, which is what makes large sparse networks tractable. Since 0.3.1 the model is constructed and parameterised in one object, with sampling methods taking that object rather than re-specifying edge distribution at sample time.

◆ Where it's heading

The package's development has been about semantic correctness more than speed. The 0.3.1 release moved edge-distribution arguments to the constructors and reinterpreted the mixing matrix S under Bernoulli parameterisation; 0.3.2 then flipped the meaning of X and Y in directed blockmodels so outgoing and incoming factors match the edge convention, and made block sorting conditional rather than unconditional. Both are corrections to what returned values mean, not to how fast they arrive. The 2025 release is CRAN documentation linking only.

◆ Prediction

With parameterisation settled and only a documentation release since 2023, the package reads as feature-complete for its sampling families. Nothing in the entries points to additional model types being queued.

S
sdsfun
ANALYTICS
0.0

A spatial-statistics utility package exists to be depended on, and is built accordingly.

◆ Current state

sdsfun collects spatial data science utilities — neighbour lists, spatial constrained clustering, discretization, dummy variable generation, geographical detector statistics and projection helpers — with the computationally heavy parts implemented in Rcpp. It was assembled quickly across late 2024, adding a function set roughly every three weeks, and has slowed since to a couple of releases a year. The most recent work is corrective: no longer initializing the RNG state at load, fixing matrix inputs misread as vectors, and clearing an Armadillo deprecation.

◆ Where it's heading

This is infrastructure for a family of packages rather than an end-user tool, and the changelog says so directly — functions were added to support gdverse and sesp, and moran_test was migrated in from geocomplexity. That migration pattern is the defining move: capability consolidates here so the downstream packages can share it instead of each carrying its own copy. Growth has slowed as that consolidation completed, leaving correctness and dependency upkeep.

◆ Prediction

Given the package moves when its dependents need something, the next release most likely brings in another shared function or responds to a downstream requirement rather than following its own plan. Armadillo and CRAN check changes remain the reliable source of maintenance work.

Alternatives to fastrg and sdsfun

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either fastrg or sdsfun.

See all fastrg alternatives → · See all sdsfun alternatives →

Recent activity from fastrg and sdsfun

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 10mo agosdsfunPackage load stops touching the RNG state
  2. 1y agofastrgDocumentation cross-linking fixes for CRAN
  3. 1y agosdsfunUnified partial correlation testing and head/tails discretization
  4. 1y agosdsfunMissing-value handling added to linear trend removal
  5. 1y agosdsfunCovariate-based detrending and long-to-matrix spatial reshaping
  6. 1y agosdsfunSpatially constrained hierarchical clustering and SPADE estimation
  7. 1y agosdsfunFast geodetector q-value estimator added
  8. 2y agofastrgDirected blockmodel X and Y factors swapped to match edge direction
  9. 4y agofastrgfastRG 0.3.1

Frequently asked questions

What is the difference between fastrg and sdsfun?

Both compete on the same themes — r-package — within Analytics. fastrg and sdsfun are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is fastrg better than sdsfun?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. fastrg and sdsfun are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to fastrg?

Top fastrg alternatives in Analytics are ranked by recent ship velocity. Browse the "fastrg alternatives" section above for the current picks, or visit /alternatives/fastrg for the full list with editorial commentary on each.

What are the best alternatives to sdsfun?

Top sdsfun alternatives in Analytics are ranked by recent ship velocity. Browse the "sdsfun alternatives" section above for the current picks, or visit /alternatives/sdsfun for the full list with editorial commentary on each.