Description Usage Arguments Value Examples
Plot string clusters as graph.
1 2 | cluster_plot(cluster, min_cluster_size = 2, label_size = 2.5,
repel = T)
|
cluster |
string clusters returned from 'cluster_strings()' |
min_cluster_size |
minimum size for clusters to be plotted. |
label_size |
how big should the cluster name fonts be. |
repel |
whether to "repel" (so cluster names won't overlap) |
a graph plot (using 'ggraph') of the string clusters.
1 2 3 | s_vec <- c("alcool","alcohol","alcoholic","brandy","brandie","cachaça")
s_clust <- cluster_strings(s_vec,method="lv",max_dist=3,algo="cc")
cluster_plot(s_clust,min_cluster_size=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.