Learn R Programming

stm (version 0.6.16)

termitewriter: Termite writer

Description

Writes output necessary to use the termite d3 visualization.

Usage

termitewriter(app.path, model, meta, DocID=NULL)

Arguments

app.path
Path to the output folder, which termite can then use to load the documents
model
STM model output object.
meta
Metadata with covariates the user wants to vizualize.
DocID
If the user wants to associate each document with a particular docID, they can input that here. By default, the program will create a sequential document ID.

Examples

Run this code
#termitewriter("~/Out", mod.out, data)

Run the code above in your browser using DataLab