powered by
Plot pit stop results (MUST BE in tibble format)
pitplot(pits_data, type = 3, title_text = NULL)
A ggplot object
Tibble
Tibble data generated by the pits() function
Plot type: individual pit stop by driver (1), grouped by team (2), grouped by driver (3, by default)
Text for the plot title, in quotes (" ") (if is omitted, a default text will be used).
# \donttest{ pitplot(pits(10, 2025), 1, "Title: Hello world!") # }
Run the code above in your browser using DataLab