Learn R Programming

⚠️There's a newer version (0.3.2) of this package.Take me there.

BayLum

An R package for chronological Bayesian models integrated for Optically Stimulated (OSL) Luminescence Dating

Installation

To install the latest development builds directly from GitHub, run

if(!require("devtools"))
  install.packages("devtools")
devtools::install_github("crp2a/BayLum@master")

To install a developer build other than ‘master’, replace the term ‘master’ in the codeline by the name of the wanted developer build.

Please note that you need to have JAGS installed on your computer

Note

The package comes without any guarantee!

Please further note that this version is a development version and may change day by day. For stable branches please visit the package on CRAN ‘BayLum’.

Funding

The development of 'BayLum' was supported by LabEx LaScArBx (ANR -n.ANR-10-LABX-52) between 2015 and 2018 (in particular through the MAM and COVADIM projects).

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Copy Link

Version

Install

install.packages('BayLum')

Monthly Downloads

304

Version

0.3.1

License

GPL-3

Maintainer

Anne Philippe

Last Published

April 13th, 2023

Functions in BayLum (0.3.1)

DATA3

DATA of sample named FER1
Age_OSLC14

Bayesian analysis for age estimation of OSL measurements and C-14 ages of various samples
BayLum-package

Chronological Bayesian Models Integrating Optically Stimulated Luminescence and C-14 Dating

AgeS

Output of AgeS_Computation function for the samples: "GDB5" and "GDB3"
AgeS_Computation

Bayesian analysis for OSL age estimation of various samples
DATA_C14

C14 cal age estiamte and its error
DATA1

DATA of sample named GDB3
DATA2

DATA on sample named GDB5
AgeC14_Computation

Bayesian analysis for C-14 age estimations of various samples
Age_Computation

Bayesian analysis for the OSL age estimation of one sample
IntCal20

Atmospheric North data for calibration of 14C age
IntCal13

Atmospheric North data for calibration of 14C age
Generate_DataFile_MG

Generates, from one (or several) BIN file(s) of Multi-grain OSL measurements a list of luminescence data and information before statistical analysis
ModelC14

Likelihood of C14 samples for JAGS models use in Age_OSLC14
MCMCsample

MCMC sample from the posterior distribution of the dataset GDB5
Marine20

Marine data for calibration of 14C age
LT_RegenDose

Plots Lx/Tx as a function of the regenerative dose
Generate_DataFile

Generates, from one (or several) BIN-file(s) of Single-grain OSL measurements, a list of luminescence data and information before statistical analysis
Model_Palaeodose

JAGS models use in Palaeodose_Computation
Marine13

Marine data for calibration of 14C age
SCMatrix

Definition of the stratigraphic constraint matrix
ModelOSL

Likelihood of OSL samples for JAGS models use in Age_OSLC14
Palaeodose_Computation

Bayesian analysis for the palaeodose estimation of various samples
ModelPrior

Prior for JAGS models use in Age_OSLC14
Model_Age

JAGS models use in Age_Computation
SHCal20

Atmospheric South data for calibration of 14C age
SHCal13

Atmospheric South data for calibration of 14C age
plot_MCMC

Plot MCMC trajectories and posterior distributions
Model_AgeC14

JAGS models use in AgeC14_Computation
Model_AgeS

JAGS models use in AgeS_Computation
plot_Scatterplots

Display Scatter Plot Matrix of the Bayesian Age Results
plot_Ages

Create Age Plot
SC_Ordered

Create stratigraphically ordered sample matrix
create_FolderTemplates

Create Folder Templates
create_ThetaMatrix

Create Theta Matrix
write_BayLumFiles

Write BayLum .csv-files
combine_DataFiles

Combine objects