Time series plot of functional groups

pr_plot_tsfg(df, Scale = "Actual", Trend = "Raw")

Arguments

df

dataframe in format of output from pr_get_FuncGroups

Scale

y axis scale Actual or Percent

Trend

Over what timescale to fit the Trend - "Raw", "Month" or "Year"

Value

plot of fg timseries

Examples

df <- pr_get_FuncGroups("NRS", "P") %>% dplyr::filter(StationCode == 'PHB')
plot <- pr_plot_tsfg(df, "Actual")
plot