Nothing
## ----example-------------------------------------------------------------
library(clustRcompaR)
library(dplyr)
library(quanteda)
d <- inaugural_addresses
d <- mutate(d, century = ifelse(Year < 1800, "17th",
ifelse(Year >= 1800 & Year < 1900, "18th",
ifelse(Year >= 1900 & Year < 2000, "19th", "20th"))))
three_clusters <- cluster(d, century, n_clusters = 3)
extract_terms(three_clusters)
## ---- example-p2---------------------------------------------------------
three_clusters_comparison <- compare(three_clusters, "century")
compare_plot(three_clusters_comparison)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.