Animate.formality
- Animate a formality
object.
# S3 method for formality
Animate(
x,
contextual = "yellow",
formal = "red",
edge.constant,
wc.time = TRUE,
time.constant = 2,
title = NULL,
digits = 3,
current.color = "black",
current.speaker.color = NULL,
non.speaker.color = NA,
missing.color = "purple",
all.color.line = "red",
plus.300.color = "grey40",
under.300.color = "grey88",
type = "network",
width = 65,
coord = c(0, 0.5),
just = c(0, 0.5),
...
)
A formality
object.
The color to use for 0% formality (purely contextual).
The color to use for 100% formality (purely formal).
A constant to multiple edge width by.
logical. If TRUE
weights duration of frame by word
count.
A constant to divide the maximum word count by. Time is calculated by `round(exp(WORD COUNT/(max(WORD COUNT)/time.constant)))`. Therefore a larger constant will make the difference between the large and small word counts greater.
The title to apply to the animated image(s).
The number of digits to use in the current turn of talk formality.
The color to use for the current turn of talk formality.
The color for the current speaker.
The color for the speakers not currently speaking.
The color to use in a network plot for edges
corresponding to missing text data. Use na.omit
before
hand to remove the missing values all together.
The color to use for the total discourse formality
color line if network = FALSE
.
The bar color to use for grouping variables exceeding 299 words per Heylighen & Dewaele's (2002) minimum word recommendations.
The bar color to use for grouping variables less than 300 words per Heylighen & Dewaele's (2002) minimum word recommendations.
Character string of either "network"
(as a network
plot), "bar"
(as a bar plot), or "text"
(as a simple
colored text plot).
The width to break text at if type = "text"
.
The x/y coordinate to plot the text if type = "text"
.
The hjust
and vjust
values to use for the text if
type = "text"
.
Other arguments passed to discourse_map
or
annotate
if type = "text"
.
formality Method for Animate