### Demo with the internal dataset 'indicator_ts_baltic'
# Define a general baseline and current assessment period:
status(
indicator_time_series = indicator_ts_baltic,
base_years = c(start = 1984, end = 2010),
current_years = c(start = 2011, end = 2016)
)
# Define indicator-specific baseline and current assessment periods:
status(
indicator_time_series = indicator_ts_baltic,
base_years_by_ind = data.frame(
ind =c("zooplankton_mean_size", "eastern_baltic_cod"),
start = c(1984, 1990), end = c(2010, 2010)
),
current_years_by_ind = data.frame(
ind =c("zooplankton_mean_size", "eastern_baltic_cod"),
start = c(2011, 2012), end = c(2016, 2016)
)
)
Run the code above in your browser using DataLab