[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39416] [PATCH 11/34] gnu: Add package r-stm
From: |
Lars-Dominik Braun |
Subject: |
[bug#39416] [PATCH 11/34] gnu: Add package r-stm |
Date: |
Tue, 4 Feb 2020 14:56:03 +0100 |
* gnu/packages/cran.scm (r-stm): New variable.
---
gnu/packages/cran.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9e5006b5f3..4b7ce21b1f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19543,3 +19543,40 @@ and co-authors and the C++ code for fitting LDA models
using Gibbs sampling by
Xuan-Hieu Phan and co-authors.")
(license license:gpl2)))
+(define-public r-stm
+ (package
+ (name "r-stm")
+ (version "1.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "stm" version))
+ (sha256
+ (base32
+ "1yyfxaxqc6yq0yq68zhdnhpwpvsyp71dlmivn7zxixfmp932s6cn"))))
+ (properties `((upstream-name . "stm")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-data-table" ,r-data-table)
+ ("r-glmnet" ,r-glmnet)
+ ("r-lda" ,r-lda)
+ ("r-matrix" ,r-matrix)
+ ("r-matrixstats" ,r-matrixstats)
+ ("r-quadprog" ,r-quadprog)
+ ("r-quanteda" ,r-quanteda)
+ ("r-rcpp" ,r-rcpp)
+ ("r-rcpparmadillo" ,r-rcpparmadillo)
+ ("r-slam" ,r-slam)
+ ("r-stringr" ,r-stringr)))
+ (home-page "http://www.structuraltopicmodel.com/")
+ (synopsis
+ "Estimation of the Structural Topic Model")
+ (description
+ "The Structural Topic Model (STM) allows researchers to estimate topic
+models with document-level covariates. The package also includes tools for
+model selection, visualization, and estimation of topic-covariate regressions.
+Methods developed in Roberts et al (2014) <doi:10.1111/ajps.12103> and Roberts
+et al (2016) <doi:10.1080/01621459.2016.1141684>. Vignette is Roberts et al
+(2019) <doi:10.18637/jss.v091.i02>.")
+ (license license:expat)))
+
--
2.20.1
- [bug#39416] Bulk import of R packages, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 01/34] gnu: Add package r-fracdiff, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 02/34] gnu: Add package r-forecast, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 04/34] gnu: Add package r-proxyc, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 05/34] gnu: Add package r-isocodes, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 03/34] gnu: Add package r-xmisc, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 07/34] gnu: Add package r-spacyr, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 09/34] gnu: Add package r-quanteda, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 06/34] gnu: Add package r-stopwords, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 11/34] gnu: Add package r-stm,
Lars-Dominik Braun <=
- [bug#39416] [PATCH 13/34] gnu: Add package r-msm, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 12/34] gnu: Add package r-polycor, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 15/34] gnu: Add package r-mi, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 17/34] gnu: Add package r-sem, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 18/34] gnu: Add package r-semtools, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 10/34] gnu: Add package r-topicmodels, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 08/34] gnu: Add package r-snowballc, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 14/34] gnu: Add package r-ltm, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 16/34] gnu: Add package r-matrixcalc, Lars-Dominik Braun, 2020/02/04
- [bug#39416] [PATCH 19/34] gnu: Add package r-regsem, Lars-Dominik Braun, 2020/02/04