Description Usage Arguments Value Examples
Accessing document IDs, terms, and their number of a term-document matrix or document-term matrix.
1 2 3 4 |
x |
Either a |
For Docs
and Terms
, a character vector with document IDs and
terms, respectively.
For nDocs
and nTerms
, an integer with the number of document IDs
and terms, respectively.
1 2 3 4 5 6 |
Loading required package: NLP
[1] "127" "144" "191" "194" "211" "236" "237" "242" "246" "248" "273" "349"
[13] "352" "353" "368" "489" "502" "543" "704" "708"
[1] 20
[1] 10
[1] "\"(it)" "\"demand" "\"expansion" "\"for" "\"growth"
[6] "\"if" "\"is" "\"may" "\"none" "\"opec"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.