LDAvis: Visualize a LDA model using 'LDAvis'

View source: R/conversions.R

LDAvisR Documentation

Visualize a LDA model using LDAvis

Description

This function call LDAvis to create a dynamic visualization of an estimated topic model.

Usage

LDAvis(x, ...)

Arguments

x

an LDA model

...

further arguments passed on to LDAvis::createJSON() and LDAvis::serVis().

Details

The CRAN release of LDAvis does not support UTF-8 characters and automatically reorder topics. To solve these two issues, please install the development version of LDAvis from github (devtools::install_github("cpsievert/LDAvis")).

Value

Nothing, called for its side effects.

See Also

plot.sentopicmodel()

Examples

lda <- LDA(ECB_press_conferences_tokens)
lda <- grow(lda, 100)
LDAvis(lda)

sentopics documentation built on May 31, 2023, 8:26 p.m.