Description Usage Arguments Value Examples
View source: R/forecastingplots.R
Plot correlations between waiting time and diversity measured at different depths, coloured by size at measurement
1 2 3 | plot_corr_waiting_time_versus_depth(df, col_prefix,
output_filename = "corr_waiting_time_versus_depth",
file_type = "png", output_dir = NA)
|
df |
dataframe generated by get_wait_cor_summary |
col_prefix |
text that appears in all names of columns containing correlation statistics |
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 3 | library(dplyr)
plot_corr_waiting_time_versus_depth(filter(depth_wait_cor_summary, K == 16),
"DriverDiversityFrom1SamplesAtDepth")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.