Description Usage Arguments Examples
Plots individual clusters from the plot_word_network
function. Can be helpful if these need to be plotted separately for any reason.
1 | plot_cluster(network_input, cluster_number)
|
network_input |
The output of the |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
movie_review_data1$cleanText = clean_text(movie_review_data1$text)
# Using language to predict "Positive" vs. "Negative" reviews
movie_model_valence = language_model(movie_review_data1,
outcomeVariableColumnName = "valence",
outcomeVariableType = "binary",
textColumnName = "cleanText")
node_edge_table = node_edge(movie_model_valence)
network_output = plot_word_network(node_edge_table, clusterType="node")
plot_cluster(network_output[[1]], cluster_number=1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.