View source: R/distance_plot.R
Highlight movement up and down by skiers throughout a distance race.
1 | dst_move_plot(data, n = 5, top_n = Inf, offset.x = 0.25)
|
data |
data.frame; as returned by |
n |
integer; number of athletes to highlight in each direction |
top_n |
integer; focus on athletes moving into or out of the top_n |
offset.x |
numeric; amount to slide the names to the left/right |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.