Description Usage Arguments Value Examples
Faceted plots of results over time for one or several athletes using either FIS points, median percent back or finishing place as a measure of performance. Includes summaries by season or by season and technique.
1 2 3 4 5 | ath_plot_dst(ath_names, races = c("maj_int", "fis"), by_tech = FALSE,
collapse = NULL, use_rank = FALSE)
ath_plot_spr(ath_names, races = c("maj_int", "fis"), by_tech = FALSE,
collapse = NULL, use_rank = TRUE)
|
ath_names |
character vector of athlete names |
races |
character; either "maj_int" for only major international results or "fis" for all results |
by_tech |
boolean; if |
collapse |
named list of athletes to collapse into a single panel |
use_rank |
boolean; if |
List with three components,
plot
- ggplot2 plot object
ath_data
- raw athlete data
ath_summary
- athlete data summarised by season/technique
1 2 3 4 5 6 | ## Not run:
p <- ath_plot_dst(ath_names = c('DIGGINS Jessica','BJORNSEN Sadie','CALDWELL Sophie'),
races = "maj_int")
print(p$plot)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.