Learn R Programming

conversim (version 0.1.0)

compare_style: Compare stylistic features

Description

This function visualizes the comparison of stylistic features between two speeches.

Usage

compare_style(stylistic_result)

Value

A ggplot object

Arguments

stylistic_result

The result from stylistic_similarity function

Examples

Run this code
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)

Run the code above in your browser using DataLab