Description Usage Arguments Value Examples
View source: R/forecastingplots.R
Example scatter plots of waiting time versus diversity
1 2 3 | plot_scatter_waiting_time_diversity(df, col_name = "DriverDiversity",
output_filename = "scatter_waiting_time_diversity",
file_type = "png", output_dir = NA)
|
df |
dataframe |
col_name |
name of column containing a diversity metric (default "DriverDiversity") |
output_filename |
name of output image file |
file_type |
either "pdf" or "png" (other values default to "pdf") |
output_dir |
folder in which to save the image file; if NA then plots are displayed on screen instead |
a plot object
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.