Risoe.BINfileData2RLum.Analysis {Luminescence} | R Documentation |
Convert Risoe.BINfileData object to an RLum.Analysis object
Description
Converts values from one specific position of a Risoe.BINfileData S4-class object to an RLum.Analysis object.
Usage
Risoe.BINfileData2RLum.Analysis(
object,
pos = NULL,
grain = NULL,
run = NULL,
set = NULL,
ltype = NULL,
dtype = NULL,
protocol = "unknown",
keep.empty = TRUE,
txtProgressBar = FALSE
)
Arguments
object |
Risoe.BINfileData (required):
|
pos |
numeric (optional): position number of the |
grain |
vector, numeric (optional):
grain number from the measurement to limit the converted data set
(e.g., |
run |
vector, numeric (optional):
run number from the measurement to limit the converted data set
(e.g., |
set |
vector, numeric (optional):
set number from the measurement to limit the converted data set
(e.g., |
ltype |
vector, character (optional):
curve type to limit the converted data. Commonly allowed values are:
|
dtype |
vector, character (optional): data type to limit the converted data. Commonly allowed values are listed in Risoe.BINfileData |
protocol |
character (optional): sets protocol type for analysis object. Value may be used by subsequent analysis functions. |
keep.empty |
logical (with default):
If |
txtProgressBar |
logical (with default): enables or disables txtProgressBar. |
Details
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.
Value
Returns an RLum.Analysis object.
Function version
0.4.3
How to cite
Kreutzer, S., 2024. Risoe.BINfileData2RLum.Analysis(): Convert Risoe.BINfileData object to an RLum.Analysis object. Function version 0.4.3. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Philippe, A., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., Galharret, J., 2024. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.24. https://CRAN.R-project.org/package=Luminescence
Note
The protocol
argument of the RLum.Analysis
object is set to 'unknown' if not stated otherwise.
Author(s)
Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team
See Also
Risoe.BINfileData, RLum.Analysis, read_BIN2R
Examples
##load data
data(ExampleData.BINfileData, envir = environment())
##convert values for position 1
Risoe.BINfileData2RLum.Analysis(CWOSL.SAR.Data, pos = 1)