Indicator and pressure dataExample data from the Baltic Sea |
|
---|---|
Food web indicators of the Central Baltic Sea (Bornholm Basin). |
|
Environmental variables representing pressures for pelagic food webs in the Central Baltic Sea (Bornholm Basin). |
|
Pressure variables and their associated pressure types from our example data |
|
TemplatesScoring template which can be modified for scoring() function |
|
Template of (sub-)criteria and corresponding scoring information |
|
Example output tibblesOutput tibbles from the different modelling function |
|
Model output tibble from the |
|
Output tibble from the |
|
Model output tibble from the |
|
Model output tibble from the |
|
Output tibble from the |
|
Output tibble after applying all IND~pressure modeling functions |
|
Modelling functionsModelling indicator trends or pressure relationships |
|
Modeling of indicator trends |
|
Initialization of indicator-pressure models |
|
Modeling of indicator responses to single pressures with GAMs |
|
Modeling of indicator responses to single pressures with GAMMs |
|
Select the best correlation structure in the GAMM |
|
Merging two model output tibbles. |
|
Calculate the derivatives of the IND response functions and the proportion of pressure range in which the response is significant |
|
Create tibble of all potential pressure combinations to test for interactions. |
|
Test for interactions between 2 pressure variables |
|
Calculates the Normalized Root Mean Square Error (NRMSE) for a list of models |
|
Scoring functionAssessing the indicator performance based on model results |
|
Scoring of indicator performance |
|
Score adjustments for sub-criterion 10.1 |
|
Summary of indicator performance scores |
|
Score-based distance matrix |
|
Distance matrix averaged across group scores |
|
Score-based cluster analysis |
|
Status assessmentCalculate Euclidean state space and convex hull |
|
Euclidean distance in state space |
|
Convex hull in 2-dimensional space |
|
Plotting functions |
|
Diagnostic plots for a fitted GAM, GAMM or threshold-GAM(M) |
|
Create indicator trend plot |
|
Visualization of all IND~pressure-model results relevant for the scoring |
|
Create score-based spie chart |
|
Dendrogram of the cluster analysis. |
|
Time series plot of Euclidean distance |
|
Convex hull plot |
|
Internal functions and helpers |
|
Alternative method for confidence interval approximations of derivatives |
|
Calculate predicted values and their confidence intervals for GAM(M)s |
|
Check class and variable names and types of ind and press data |
|
Check class, existing variables and data types of input objects |
|
Check class and data type of input vector |
|
Compare changes in t_var based on different threshold levels. |
|
Conditional bootstraps |
|
Calculates the Cook`s distance for Generalized Additive Mixed Models (GAMM) |
|
Extracts the IND~pressure IDs in the tibble. |
|
Create a code indicating the significance of values given by p_val. |
|
Extract specific outputs from the GAM(M) summary |
|
Returns a logical vector whether input |
|
Leave-One-Out Cross-Validation (LOOCV) procedure for (threshold-)GAMs |
|
Normalized Root Mean Square Error |
|
Place annotations to a specified position |
|
|
Helper functions for plot_model |
Rearrange columns in output tibble from IND~pressure modeling functions |
|
Compute (partial) autocorrelation functions and test for significance |
|
Fits a GAM with a threshold-formulation |