R/plot_timeseries.R
pr_plot_tsfg.Rd
Time series plot of functional groups
pr_plot_tsfg(df, Scale = "Actual", Trend = "Raw")
dataframe in format of output from pr_get_FuncGroups
y axis scale Actual or Percent
Over what timescale to fit the Trend - "Raw", "Month" or "Year"
plot of fg timseries
df <- pr_get_FuncGroups("NRS", "P") %>% dplyr::filter(StationCode == 'PHB') plot <- pr_plot_tsfg(df, "Actual") plot