immigration_perceptions {stmCorrViz}R Documentation

Sample STM Model

Description

This is an example of a fitted STM object, alongside the raw document data used to fit the model. The model has 20 topics, 341 documents and a 455 word dictionary. For background about the underlying dataset, see gadarian.

Usage

data(immigration_perceptions)

Format

A list with the following elements:

model

The STM model object.

raw_documents

A character vector containing the raw documents.

documents_matrix

Processed documents in bag-of-words matrix representation.

See Also

gadarian


[Package stmCorrViz version 1.3 Index]