Skip to contents

Code for creating matrices of environmental variables at varying lags, to enable scalar-on-function regression within the mgcv pacakge. The statistical method follows the method of Miller et al (2025).

To install the package, use the following code:

# install.packages("remotes")
remotes::install_github("NERC-CEH/jsdmstan")