We are trying to find the right analysis to perform for our university course Biodiversity and Landscape. We have data from the previous 10 years about species abundance [BB-method] and at which height (gradient from sea to more land inward, this is at a saltmarsh) these species are present. We want to find a shift in species abundance along this height gradient over time, as it has been suggested that the dynamics at the saltmarsh are decreasing.
The problem we encounter is in what class do we define variable type Time. Abundance we can explain as a response variable and height as an explanatory variable. Since Time does not directly influence the abundance, but more so the relation between height and abundance.