Learn R Programming

TLdating (version 0.1.3)

script_TL.MAAD: Script for the MAAD protocol

Description

This script calls a series of data functions before estimating the ED using the MAAD protocol. It just requires the name of the files with the TL curves, the relative error on the measurement and the temperature boundaries for the signal integration.

Usage

script_TL.MAAD(file.name, eval.Tmin, eval.Tmax, k = 1, remove.discs = NULL, file.parameters = list(file.extension = ".binx", folder.in = "./", folder.out = "./"), aligning.parameters = list(peak.Tmin = NULL, peak.Tmax = NULL, no.testdose = FALSE), fitting.parameters = list(fit.method = "LIN", fit.weighted = FALSE, fit.use.slope = FALSE, fit.aDoses.min = 0, fit.aDoses.max = NA, fit.rDoses.min = 0, fit.rDoses.max = NA), plotting.parameters = list(plot.Tmin = 0, plot.Tmax = NA, no.plot = FALSE), rejection.criteria = list(testdose.error = 10, paleodose.error = 10))

Arguments

file.name
character (required): Name of the file containing the luminescence data.
eval.Tmin
integer (required): Temperature ( °C) of the lower boundary for the signal integration.
eval.Tmax
integer (required): Temperature (°C) of the upper boundary for the signal integration.
k
numeric (with default): Corrective factor for estimating the uncertainties using a poisson distribution.
remove.discs
numeric (with default): list containing the position of the aliquots to shall be removed.
file.parameters
list (with default): list containing the input/output parameters. See details.
aligning.parameters
list (with default): list containing the aligning parameters. See details.
fitting.parameters
list (with default): list containing the fitting parameters. See details.
plotting.parameters
list (with default): list containing the plotting parameters. See details.
rejection.criteria
list (with default): list containing the rejection criteria (in %). See details.

Value

This function plots the results from the differents functions called using: plot_extract.TL, plot_remove.preheat plot_substract.background plot_align.peaks and plot_TL.MAAD.This function saves a file containing the luminescence data after the pretreatment in the specified folder.Finally, it also provides an list containing:

Details

File parameters The file parameters are:

see also script_TL.pretreatment.

Aligning parameters The aligning parameters are:

Fitting parameters The fitting parameters are:

See also calc_TL.MAAD.fit.Q and calc_TL.MAAD.fit.I.

Plotting parameters The plotting parameters are:

See also plot_TL.MAAD.

Rejection criteria The rejection criteria are:

See Also

read_BIN2R, Risoe.BINfileData2TLum.BIN.File, mod_extract.TL, mod_update.dType, mod_remove.aliquot, mod_remove.preheat, mod_substract.background, mod_align.peaks, write_R2BIN, TLum.BIN.File2TLum.Analysis and analyse_TL.MAAD.