Description Usage Arguments Value Examples
Get the documents associated with each of the k clusters .
1 2 3 4 | get_documents(x, ...)
## S3 method for class 'assign_cluster'
get_documents(x, ...)
|
x |
A |
... |
ignored. |
Returns a list of vector
s of document names.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | library(dplyr)
mydocuments1 <- presidential_debates_2012 %>%
with(data_store(dialogue, paste(person, time, sep="-"))) %>%
hierarchical_cluster() %>%
assign_cluster(k = 6) %>%
get_documents()
mydocuments1
mydocuments2 <- presidential_debates_2012 %>%
with(data_store(dialogue)) %>%
hierarchical_cluster() %>%
assign_cluster(k = 55) %>%
get_documents()
mydocuments2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.