Converts values from one specific position of a Risoe.BINfileData S4-class object to an RLum.Analysis object.
Risoe.BINfileData2RLum.Analysis(object, pos = NULL, grain = NULL,
run = NULL, set = NULL, ltype = NULL, dtype = NULL,
protocol = "unknown", keep.empty = TRUE, txtProgressBar = FALSE)
numeric (optional): position number of the Risoe.BINfileData
object for which the curves are stored in the RLum.Analysis
object.
If length(position)>1
a list of RLum.Analysis
objects is returned.
If nothing is provided every position will be converted.
If the position is not valid NA
is returned.
character (optional): sets protocol type for analysis object. Value may be used by subsequent analysis functions.
logical (with default):
If TRUE
(default) an RLum.Analysis
object is returned even if it does
not contain any records. Set to FALSE
to discard all empty objects.
logical (with default): enables or disables txtProgressBar.
0.4.2 (2018-01-21 17:22:38)
Kreutzer, S. (2018). Risoe.BINfileData2RLum.Analysis(): Convert Risoe.BINfileData object to an RLum.Analysis object. Function version 0.4.2. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J. (2018). Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.8.6. https://CRAN.R-project.org/package=Luminescence
The '>RLum.Analysis object requires a set of curves for specific further protocol analyses. However, the '>Risoe.BINfileData usually contains a set of curves for different aliquots and different protocol types that may be mixed up. Therefore, a conversion is needed.
'>Risoe.BINfileData, '>RLum.Analysis, read_BIN2R
# NOT RUN {
##load data
data(ExampleData.BINfileData, envir = environment())
##convert values for position 1
Risoe.BINfileData2RLum.Analysis(CWOSL.SAR.Data, pos = 1)
# }
Run the code above in your browser using DataCamp Workspace