Create ggplot for one current qc_test and variable
adcp_ggplot_flags.RdCreate ggplot for one current qc_test and variable
Arguments
- dat
Data frame of flagged current data in long format. Must include a column named with the string "_flag_value".
- qc_test
qc test to plot.
- n_col
Number of columns for faceted plots.
- flag_title
Logical argument indicating whether to include a ggtitle of the qc test and variable plotted.
- plotly_friendly
Logical argument. If
TRUE, the legend will be plotted whenplotly::ggplotlyis called onp. Default isFALSE, which makes the legend look better in a static figure.