topics_per_document: Get a dataframe of topics per docment, with an identifier...

Description Usage Arguments

Description

Get a dataframe of topics per docment, with an identifier column

Usage

1
2
topics_per_document(lda_model = NULL, clusterinfo = NULL,
  use.posterior = F)

Arguments

lda_model

An lda model fitted using topicmodels::LDA

clusterinfo

The output of the clusterinfo function

posterior

use the posterior distribution or the actual word assignment (default)


vanatteveldt/topicbrowser documentation built on May 3, 2019, 2:59 p.m.