View source: R/main_functions_utilities.R
compare_style | R Documentation |
This function visualizes the comparison of stylistic features between two speeches.
compare_style(stylistic_result)
stylistic_result |
The result from stylistic_similarity function |
A ggplot object
text1 <- "The quick brown fox jumps over the lazy dog. It's a sunny day."
text2 <- "A lazy cat sleeps on the warm windowsill. Birds chirp outside."
result <- stylistic_similarity(text1, text2)
compare_style(result)
print(plot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.