Description Usage Arguments Details Value Examples
Create a reduced subcorpus of documents which contain a specified keyword.
1 | keyword.corpus(data.td, keyword)
|
data.td |
A tidy dataset |
keyword |
A user specified keyword |
This function will create a new subcorpus of documents, from the
original corpus, in which each document contains the user specified
keyword
. All other documents will be excluded from this subcorpus.
Creates a subcorpus with only documents containing keyword
1 | hurricane <- keyword.corpus(Articles, "hurricane")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.