Package: keyATM 0.5.3

Shusei Eshima

keyATM: Keyword Assisted Topic Models

Fits keyword assisted topic models (keyATM) using collapsed Gibbs samplers. The keyATM combines the latent dirichlet allocation (LDA) models with a small number of keywords selected by researchers in order to improve the interpretability and topic classification of the LDA. The keyATM can also incorporate covariates and directly model time trends. The keyATM is proposed in Eshima, Imai, and Sasaki (2024) <doi:10.1111/ajps.12779>.

Authors:Shusei Eshima [aut, cre], Tomoya Sasaki [aut], Kosuke Imai [aut], Chung-hong Chan [ctb], Romain François [ctb], Martin Feldkircher [ctb], William Lowe [ctb], Seo-young Silvia Kim [ctb]

keyATM_0.5.3.tar.gz
keyATM_0.5.3.zip(r-4.5)keyATM_0.5.3.zip(r-4.4)keyATM_0.5.3.zip(r-4.3)
keyATM_0.5.3.tgz(r-4.5-x86_64)keyATM_0.5.3.tgz(r-4.5-arm64)keyATM_0.5.3.tgz(r-4.4-x86_64)keyATM_0.5.3.tgz(r-4.4-arm64)keyATM_0.5.3.tgz(r-4.3-x86_64)keyATM_0.5.3.tgz(r-4.3-arm64)
keyATM_0.5.3.tar.gz(r-4.5-noble)keyATM_0.5.3.tar.gz(r-4.4-noble)
keyATM_0.5.3.tgz(r-4.4-emscripten)keyATM_0.5.3.tgz(r-4.3-emscripten)
keyATM.pdf |keyATM.html
keyATM/json (API)
NEWS

# Install 'keyATM' in R:
install.packages('keyATM', repos = c('https://keyatm.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/keyatm/keyatm/issues

Pkgdown site:https://keyatm.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

latent-dirichlet-allocationnatural-language-processingpolitical-sciencercpprcppeigensocial-sciencetopic-modelscpp

6.67 score 107 stars 63 scripts 422 downloads 22 exports 59 dependencies

Last updated 8 hours agofrom:2f004e3b45. Checks:12 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 31 2025
R-4.5-win-x86_64OKMar 31 2025
R-4.5-mac-x86_64OKMar 31 2025
R-4.5-mac-aarch64OKMar 31 2025
R-4.5-linux-x86_64OKMar 31 2025
R-4.4-win-x86_64OKMar 31 2025
R-4.4-mac-x86_64OKMar 31 2025
R-4.4-mac-aarch64OKMar 31 2025
R-4.4-linux-x86_64OKMar 31 2025
R-4.3-win-x86_64OKMar 31 2025
R-4.3-mac-x86_64OKMar 31 2025
R-4.3-mac-aarch64OKMar 31 2025

Exports:by_strata_DocTopicby_strata_TopicWordcovariates_getcovariates_infokeyATMkeyATM_readkeyATMvbmultiPGregplot_alphaplot_modelfitplot_piplot_timetrendplot_topicpropread_keywordssave_figsemantic_coherencetop_docstop_topicstop_wordsvalues_figvisualize_keywordsweightedLDA

Dependencies:clicodetoolscolorspacecpp11digestdplyrfansifarverfastmapfastmatchfsfuturefuture.applygenericsggplot2ggrepelglobalsgluegtableisobandISOcodesjsonlitelabelinglatticelifecyclelistenvmagrittrMASSMatrixmatrixNormalmgcvmunsellmvtnormnlmeparallellypgdrawpillarpkgconfigpurrrquantedaR6RColorBrewerRcppRcppEigenrlangscalesSnowballCstopwordsstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrxml2yaml