Description Usage Arguments Value Examples
Function to create tmWordCountsTable
1 | tmWordCountsTable(x = NULL)
|
x |
source tmParsed |
returns tmWordCountsTable object
1 2 3 4 5 6 7 8 9 10 11 12 | corp <- tmCorpus(c("This is corp", "Document two is this"))
parsed <- parse(corp)
parsed_ngram <- ngram(corp, k = 2)
tabled <- make_tabled(parsed)
tabled_ngram <- make_tabled(parsed_ngram)
## Not run:
corp <- tmCorpus("directory", package = "stylo")
parsed <- parse(corp)
parsed_ngram <- ngram(corp, k = 2)
parsed <- tmParsed(source = "directory", package = "stylo")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.