View source: R/cluster_format.R
get_cluster_fill_counts | R Documentation |
get_cluster_fill_counts()
creates a data frame that shows the number of
graphs in each cluster for each input document.
get_cluster_fill_counts(df)
df |
A data frame with columns |
A dataframe of cluster fill counts for each document in the input data frame.
writer <- c(rep(1, 20), rep(2, 20), rep(3, 20))
docname <- c(rep('doc1',20), rep('doc2', 20), rep('doc3', 20))
doc <- c(rep(1, 20), rep(2, 20), rep(3, 20))
cluster <- sample(3, 60, replace=TRUE)
df <- data.frame(docname, writer, doc, cluster)
get_cluster_fill_counts(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.