Print a list of models to a multi-page pdf file.
1 2 | print_models(stm_models, texts, file = "printed_stm.pdf", title = NULL,
verbose = TRUE)
|
stm_models |
Either a list of stm model objects from
|
texts |
A character vector where each entry contains the text of a document. Must be in the same order as the documents object. NOTE: This is not the documents which are passed to ‘stm’ and come out of ‘prepDocuments’, this is the actual text of the document. |
file |
either a character string naming a file or a connection open for writing. |
title |
Title to printed on top of the first page. |
verbose |
If it should show a progress bar in the terminal. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.