Learn R Programming

Luminescence (version 0.4.1)

Risoe.BINfileData2RLum.Analysis: 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, run, set, ltype, 
    protocol = "unknown")

Arguments

object
Risoe.BINfileData (required): Risoe.BINfileData object
pos
integer (required): position number of the Risoe.BINfileData object for which the curves are stored in the RLum.Analysis object. If the position is not valid NA
run
vector, numeric (optional): run number from the measurement to limit the converted data set (e.g., run = c(1:48)).
set
vector, numeric (optional): set number from the measurement to limit the converted data set (e.g., set = c(1:48)).
ltype
vector, character (optional): curve type to limit the converted data. Allowed values are: IRSL, OSL, TL, RIR,
protocol
character (optional): sets protocol type for analysis object. Value may be used by subsequent analysis functions.

Value

  • Returns an RLum.Analysis object.

Function version

0.1.2 (2014-09-15 02:28:00)

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.

References

#

See Also

Risoe.BINfileData, RLum.Analysis, readBIN2R

Examples

Run this code
##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 DataLab