Learn R Programming

TLdating (version 0.1.3)

mod_update.dType: mod identify dType

Description

This function identify the data type of each curve from a TLum.Analysis object. It also add the new data type "testdose" and "preheat" based on the comment present in the TLum.Analysis object or a sequence vector.

Usage

mod_update.dType(object, method = "comment", ref = list(sequence = c("Preheat", "Natural", "Background", "Testdose", "Background"), oneByOne = FALSE, protocol = "SAR", preheat = NA, testdose = NA))

Arguments

object
TLum.Analysis (required): object containing the initial TL curves.
method
character (with default): Defines the methode use to identify the new data type ("comment", "sequence", "temperature+dose").
ref
list (with default): Contains the reference values to identify the new data type.

Value

This function provides a new TLum.Analysis with the new dtype.