Description Usage Arguments Value Examples
Function to create single tmTextDocument with meta data. The object can store any from of documents: raw (string), parsed or table of words counts.
1 | tmTextDocument(x = NULL, ...)
|
x |
source |
... |
metadata to set. Can be set as language = "pl" or newmeta = "random" |
returns tmTextDocument
1 2 | text <- tmTextDocument("This is text")
text2 <- tmTextDocument("This is text", language = "en", title = "My test")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.