Description Usage Arguments Examples
Various graphs for sprint race heats.
| 1 2 3 4 5 6 7 | 
| data | data.frame, as returned by  | 
| type | character; one of "rank", "time" or "centered"; controls whether the y axis is heat rank, heat time or the times centered by round. | 
| nation_col | character vector; if specified, highlight athletes from
these nations. Use the three letter codes, all caps. e.g.
 | 
| name_col | character vector; if specified, highlight these. Must spell
out each athlete's full name as it appears in  | 
| offset.x | numeric; amount to slide the names to the left/right | 
| 1 2 3 4 5 6 7 8 | ## Not run: 
require(ggplot2)
spr <- parse_spr_df(file = system.file("example_pdfs/spr_example1.pdf",
                                        package = "fispdfparsr"))
p <- spr_heat_plot(data = spr,type = "centered",nation_col = c("USA","CAN"))
print(p)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.