Filter data for plotting functions

pr_filter_data(df, Parameter = "Biomass_mgm3", StationRegion = "NSI")

Arguments

df

dataframe from pr_get_indices

Parameter

parameter(s) to be filtered on

StationRegion

StationCode(s) or BioRegion(s) to be filtered on

Value

prefiltered data frame for pr_plot_trends, ts, climate

Examples

df <- pr_get_Indices("CPR", "Z") %>%
      pr_filter_data("BiomassIndex_mgm3", c("North", "South-west"))
df <- pr_get_Indices("NRS", "P") %>%
      pr_filter_data("PhytoBiomassCarbon_pgL", c("NSI", "PHB"))