← Back to home
Comparison · Analytics

cTMed vs quanteda

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

Shared themes:r-package

cTMed vs quanteda: at a glance

FeaturecTMedquanteda
SectorAnalyticsAnalytics
Velocity score2.52.5
Sparks · 30d00
Top themesmediation-analysis, continuous-time-models, r-package, statistical-methodstext-analysis, natural-language-processing, r-package, torch
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is cTMed?

Continuous-time mediation effects get standardized centrality, six years into steady patch work

cTMed computes direct, indirect and total effects for continuous-time mediation models, with delta-method, Monte Carlo and bootstrap variants of each. Development is a long run of patch releases from the jeksterslab account, roughly every two months, each adding a function or two. The latest adds standardized centrality measures and allows a diagonal sigma across ten standardized estimators.

Read the full cTMed trajectory →

What is quanteda?

Text analysis in R keeps optimising its token internals — and builds a path out to torch

quanteda is a mature framework for quantitative text analysis in R. Since the 4.0 rewrite around external-pointer tokens objects, releases have concentrated on the internals: recompilation control, memory reduction on concatenation, type-table consistency between tokens and dfm objects. The newest release adds tokens_recompile() for explicit ID reassignment, stops query functions from recompiling implicitly, and returns dense rather than sparse tensors from as.tensor() with arguments passed through to torch.

Read the full quanteda trajectory →

cTMed vs quanteda: editorial side-by-side

C
cTMed
ANALYTICS
2.5

Continuous-time mediation effects get standardized centrality, six years into steady patch work

◆ Current state

cTMed computes direct, indirect and total effects for continuous-time mediation models, with delta-method, Monte Carlo and bootstrap variants of each. Development is a long run of patch releases from the jeksterslab account, roughly every two months, each adding a function or two. The latest adds standardized centrality measures and allows a diagonal sigma across ten standardized estimators.

◆ Where it's heading

The package is filling out a matrix rather than changing shape: for each effect type there is a delta-method, a Monte Carlo and a bootstrap path, and each release closes another cell. The 2025 releases were largely externally forced — an Armadillo 15.0.x transition at CRAN, a citation addition after the Psychological Methods paper landed — which suggests the statistical core has been settled since the 1.0.6 standardization revision.

◆ Prediction

The diagonal-sigma option has now reached the standardized estimators; extending it to the remaining unstandardized variants is the obvious next cell to fill.

Q
quanteda
ANALYTICS
2.5

Text analysis in R keeps optimising its token internals — and builds a path out to torch

◆ Current state

quanteda is a mature framework for quantitative text analysis in R. Since the 4.0 rewrite around external-pointer tokens objects, releases have concentrated on the internals: recompilation control, memory reduction on concatenation, type-table consistency between tokens and dfm objects. The newest release adds tokens_recompile() for explicit ID reassignment, stops query functions from recompiling implicitly, and returns dense rather than sparse tensors from as.tensor() with arguments passed through to torch.

◆ Where it's heading

Two threads run in parallel. The dominant one is performance and correctness housekeeping on the tokens_xptr representation introduced in 4.0 — each release closes another case where the external-pointer path diverged from the plain tokens path. The quieter thread points outward: as.matrix() returning a document-by-position integer matrix and as.tensor() handing off to torch::torch_tensor() make the tokenised corpus directly consumable by neural models rather than only by quanteda's own bag-of-words machinery.

◆ Prediction

The tensor and matrix export path is the least mature part of the surface and gained arguments in this release rather than settling, so expect further work there before the token internals change again.

Alternatives to cTMed and quanteda

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 cTMed or quanteda.

See all cTMed alternatives → · See all quanteda alternatives →

Recent activity from cTMed and quanteda

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

  1. 12d agoquantedaExplicit token recompilation and a denser path out to torch
  2. 26d agocTMedStandardized centrality measures and diagonal-sigma support
  3. 6mo agocTMedMinor method edits
  4. 10mo agocTMedPackage citation added for the Psychological Methods paper
  5. 10mo agocTMedArmadillo 15.0.x compatibility for CRAN
  6. 1y agoquantedaCorpus chunking and cheaper token concatenation
  7. 1y agocTMedStandardization reworked around the steady-state covariance matrix
  8. 1y agocTMedBootstrap centrality estimators and MCPhiSigma()
  9. 1y agoquantedaFaster concatenation and a dfm_lookup naming fix
  10. 2y agoquantedaMinor test and documentation fixes
  11. 2y agoquantedaPlatform-specific test and installation fixes
  12. 2y agoquantedaCRAN v4.0

Frequently asked questions

What is the difference between cTMed and quanteda?

Both compete on the same themes — r-package — within Analytics. cTMed and quanteda are shipping at a similar cadence (velocity 2.5 vs 2.5, 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 cTMed better than quanteda?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. cTMed and quanteda are shipping at a similar cadence (velocity 2.5 vs 2.5, 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 cTMed?

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

What are the best alternatives to quanteda?

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