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 Proportion

Trend

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

Value

plot of fg timseries

Examples

df <- pr_get_FuncGroups("SOTS", "Phytoplankton") %>%
dplyr::filter(StationCode == 'SOTS')
plot <- pr_plot_tsfg(df, "Actual", Trend = 'Month')
plot
#> Warning: Removed 10 rows containing missing values or values outside the scale range
#> (`geom_area()`).