Learn R Programming

TLdating (version 0.1.3)

script_TL.pretreatment: Script for data pretreatment

Description

This script call a series of data pretreatment functions for TL dating. It only requires the name of the files with the TL curves and the relative error on the measurement.

Usage

script_TL.pretreatment(file.name, 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), plotting.parameters = list(plot.Tmin = 0, plot.Tmax = NA, no.plot = FALSE))

Arguments

file.name
character (required): Name of the file containing the luminescence data.
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 remove.
file.parameters
list (with default): list containing the file parameters. See details.
aligning.parameters
list (with default): list containing the aligning parameters. See details.
plotting.parameters
list (with default): list containing the plotting parameters. See details.

Value

This function return a TLum.Analysis where the preheat were removed, the background substract and the peaks aligned. Its save the result as a .binx file il the specified folder. And, its plots the results from the differents functions called using: plot_extract.TL, plot_remove.preheat, plot_substract.background and plot_align.peaks.

Details

Aligning parameters The aligning parameters are:

Plotting parameters The plotting parameters are:

See also plot_TL.MAAD.

File parameters The plotting parameters are:

see also mod_update.dType.

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.