ConversationAlign_Step4_Analytics

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
# Load SemanticDistance
library(ConversationAlign)

This is a helpful addition to ConversationAlign that will generate a variety of corpus analytics (e.g., word count, type-token-ratio) for your conversation corpus. The output is in a summary table that is readily exportable to to the specific journal format of your choice using any number of packages such as flextable or tinytable.

Generate your corpus analytics on the dataframe you created with prep_dyads.

Arguments to corpus_analytics include:
1) dat_prep= dataframe created by prep_dyads()function

NurseryRhymes_Analytics <-  corpus_analytics(dat_prep=NurseryRhymes_Prepped)
knitr::kable(head(NurseryRhymes_Analytics, 15), format = "simple", digits = 2)

`



Try the ConversationAlign package in your browser

Any scripts or data that you put into this service are public.

ConversationAlign documentation built on Aug. 8, 2025, 7:22 p.m.