distinct.corpus | R Documentation |
Select only documents that are unique/distinct with respect to values of their document variables.
## S3 method for class 'corpus'
distinct(.data, ..., .keep_all = FALSE)
.data |
a corpus object with document variables |
... |
comma-separated list of unquoted document variables, or expressions involving document variables |
.keep_all |
If |
distinct(data_corpus_inaugural[1:5], President) %>%
summary()
distinct(data_corpus_inaugural[1:5], President, .keep_all = TRUE) %>%
summary()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.