Description Usage Arguments Details Note
View source: R/discourse_map.R
Animate.discourse_map
- Animate a discourse
discourse_map
.
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
The discourse_map object. |
edge.constant |
A constant to multiple edge width by. |
sep |
The separator character to use between grouping variables. |
current.color |
The color to make the vector edge as it moves. |
previous.color |
The color to make the already plotted edges. |
wc.time |
logical. If |
time.constant |
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. |
title |
The title to apply to the animated image(s). |
... |
ignored |
discourse_map Method for Animate
The width of edges is based on words counts on that edge until that
moment divided by total number of words used until that moment. Thicker
edges tend to thin as time passes. The actual duration the current edge
stays as the current.color
is based on word counts for that particular
flow of dialogue divided by total dialogue (words) used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.