reslr is a package designed to perform Bayesian modelling of relative sea level data. We provide a range of different statistical models which include: linear regression, change-point regression, integrated Gaussian process regression, splines, generalised additive models. In addition, we account for measurement uncertainty in multiple dimensions which is a common when examining relative sea-level data. The package has a unifying framework for loading data, fitting models, and summarising relative sea level (RSL) change over time and space. The output plots provide sea level curves and corresponding rates of change with appropriate consideration of uncertainty. An example dataset is included in the package which contains proxy reconstructed RSL records from the Atlantic Coast of North America. Also, the user can select to include instrumental data from tide gauges using the Permanent Service for Mean Sea Level online database.

Markov Chain Monte Carlo (MCMC) algorithms via the Just Another Gibbs Sample (JAGS) software is used for our Bayesian statistical models. Before using the reslr package, the user must download the JAGS package using this link.

To examine the full vignette check out: reslr

For a quick start use: Quick start

For a more detailed discussion on advanced options within the reslr package examine: Advanced

Installing the reslr package

To use the reslr package install it using the following method as the package is not yet on CRAN:

# install.packages("devtools")

Next, load the package with