Learn R Programming

numOSL (version 2.8)

as_analyseBIN: Transfom SAR data sets into S3 class object "analyseBIN"

Description

Transfom SAR data sets into S3 class object "analyseBIN".

Usage

as_analyseBIN(SARdata)

Value

Return an invisible list of S3 class object "analyseBIN" containing the following elements:

SARdata

a data.frame containing SAR data sets

criteria

values used as rejection criteria, here it is set equal to NULL

Tn

values of Tn and associated standard errors, here it is set equal to NULL

LnTn.curve

decay curves of Ln and Tn for different aliquots (grains), here it is set equal to NULL

TxTn

ratios of Tx to Tn for various SAR cycles, here it is set equal to NULL

agID

aliquot or grain ID (i.e., NO, Position, and Grain), here both Position and Grain are set equal to 0

SARdata is a data.frame containing the following elements:

ElementDescriptionNO
aliquot (grain) numberSAR.CycleSAR cycle (N, R1, R2, R3, ...)
Doseregenerative doseSignal
OSL signalSignal.Errstandard error of OSL signal

Arguments

SARdata

matrix(required): SAR data set, it should contain five columns
(i.e., NO, SAR.Cycle, Dose, Signal, and Signal.Err), see SARdata for details

See Also

analyseBINdata; SARdata; calSARED; pickSARdata

Examples

Run this code
  ### Example 1:
  data(SARdata)
  obj_analyseBIN <- as_analyseBIN(SARdata[1:8,,drop=FALSE])
  res_calSARED <- calSARED(obj_analyseBIN)
  res_calSARED$sarED

  ### Example 2 (not run):
  # obj_analyseBIN <- as_analyseBIN(SARdata)
  # res_calSARED <- calSARED(obj_analyseBIN, rcy1.range=c(1,1), outpdf="SARED")

  ### Example 3 (not run):
  # obj_analyseBIN <- as_analyseBIN(SARdata)
  # res_pickSARdata <- pickSARdata(obj_analyseBIN, fom.up=6, outpdf="SARdata")
  # res_pickSARdata$SARdata

Run the code above in your browser using DataLab