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.