View source: R/findPoliteTexts.R
findPoliteTexts | R Documentation |
Deprecated... This function has a new name now. See exampleTexts for details.
findPoliteTexts(text, covar, ...)
text |
a character vector of texts. |
covar |
a vector of politeness labels, or other covariate. |
... |
other arguments passed on to exampleTexts. See exampleTexts for details. |
a ggplot of the prevalence of politeness features, conditional on split
. Features are sorted by variance-weighted log odds ratio.
data("phone_offers")
polite.data<-politeness(phone_offers$message, parser="none",drop_blank=FALSE)
findPoliteTexts(phone_offers$message,
phone_offers$condition,
type = "most",
num_docs = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.