This R package, clda, implements the following Markov chain Monte Carlo (MCMC) and variational methods for the compound latent Dirichlet allocation (cLDA) model. Auxiliary variable update within Gibbs sampler (AGS) Metropolis adjusted Langevin algorithm within Gibbs sampler (MGS) * Variational Expectation Maximization (VEM)
For package documentation run
help("clda")
in an R console. All major functions and datasets are documented and linked to the package index.
To see all demo R scripts available in this package, run
demo(package="clda")
in an R console. These demo scripts require commandline arguments for execution. Please see the documentation provided in each script before execution.
This package uses the following R packages, which are already included in this R package. Rcpp RcppArmadillo based on the Armadillo C++ package * lattice
R CMD INSTALL clda
on the commandline R CMD REMOVE clda
on the commandline Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.