Description Usage Arguments Examples
Plot bumps chart for stage race results.
1 2 3 4 5 6 7 |
data |
data.frame; output from |
type |
character; one of "rank", "time" or "percent" to plot overall rank, time back or percent back. |
nation_col |
character vector of nations to highlight |
name_col |
character vector of athletes to highlight |
offset.x |
numeric; amount to adjust the athlete labels on the left and right of the plot |
1 2 3 4 5 6 7 8 | ## Not run:
pdf <- system.file("example_pdfs/stage_example2.pdf",package = "fispdfparsr")
stg <- parse_stage_pdf(file = pdf)
require(ggplot2)
p <- stage_plot(data = stg,type = "rank")
print(p)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.