Combined timeseries and climatology plots

pr_plot_tsclimate(df, Survey = "NRS", trans = "identity")

Arguments

df

data frame with SampleDate_Local, time period and parameter

Survey

CPR or NRS data

trans

scale of y axis on plot, whatever scale_y_continuous trans accepts

Value

a combined plot

Examples

df <- pr_get_Indices(Survey = "CPR", Type = "P") %>%
  dplyr::filter(Parameters == "PhytoAbundance_Cellsm3")
pr_plot_tsclimate(df, "CPR")
#> Warning: Removed 852 rows containing missing values or values outside the scale range
#> (`geom_line()`).
#> Warning: Removed 23314 rows containing missing values or values outside the scale range
#> (`geom_point()`).
#> Warning: Removed 31 rows containing missing values or values outside the scale range
#> (`geom_col()`).
#> Warning: Removed 67 rows containing missing values or values outside the scale range
#> (`geom_col()`).