SER: An R package to characterize environmental regimes

Naicheng Wu*, Kun Guo, Yi Zou, Fengzhi He, Tenna Riis

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

10 Citations (Scopus)


Environmental regimes (or environmental legacy or historical legacy) are the dynamics of environmental characteristics over a given (either long or short) time period, such as frequency of mean or extreme events and rate of change, which might be absent by using only contemporary variables. We present SER, an R package for estimating environmental regimes for different environmental variables. Using the data included in the package, several examples are shown. SER is suitable for any type of environmental or biotic variables, including nutrient concentration, light, and dissolved oxygen. In addition, by changing the argument “days_bf,” it is possible to compute environmental regimes over any time period, such as days, months, or years. Our case study showed that the inclusion of environmental regimes increased the explained variation of temporal β-diversity and its components. Environmental regimes are expected to advance the “environment–community” relationships in ecological studies. They can further be implemented in other subjects such as social science, socioeconomics, and epidemiology.

Original languageEnglish
Article numbere9882
JournalEcology and Evolution
Issue number3
Publication statusPublished - Mar 2023


  • environmental legacy
  • environmental variables
  • historical legacy
  • R package
  • regime
  • SER


Dive into the research topics of 'SER: An R package to characterize environmental regimes'. Together they form a unique fingerprint.

Cite this