Learn R Programming

numOSL (version 2.0)

pickSARdata: SAR data set selection

Description

Extracting SAR data sets according to certain criteria (recycling ratio, recuperation, figure-of-merit and reduced-chi-square values of fitted growth curves).

Usage

pickSARdata(Data, model = "gok", origin = FALSE, weight = TRUE, rcy.interval = NULL, rcp1.limit = NULL, rcp2.limit = NULL, fom.limit = NULL, rcs.limit = NULL, outfile = NULL)

Arguments

Data
data.frame(required): data used for constructing growth curves, it should contain five columns (i.e., Grain.NO, SAR.Cycle, Dose, Signal, and Signal.Err), see SARdata for details
model
character(with default): model used for growth curve fitting, see fitGrowth for available models
origin
logical(with default): force the fitted growth curve to pass the origin or not
weight
logical(with default): perform growth curve fitting using a weighted or an un-weighted procedure, see function fitGrowth for details
rcy.interval
vector(optional): a two-element vector indicating the lower and upper limits on recycling ratio, for example, rcy.interval=c(0.9,1.1)
rcp1.limit
double(optional): upper limit on recuperation1 (i.e., the ratio of standardised zero regenerative dose signal to standardised natural dose signal) in percent
rcp2.limit
double(optional): upper limit on recuperation2 (i.e., the ratio of standardised zero regenerative dose signal to maximum standardised regenerative dose signal) in percent
fom.limit
double(optional): upper limit on figure-of-merit (FOM) values of fitted growth curves in percent
rcs.limit
double(optional): upper limit on reduced-chi-square (RCS) values of fitted growth curves
outfile
character(optional): if specified, quantities related to selected Grain.NO will be written to a CSV file named "outfile" and saved to the current work directory

Value

Return a list that contains the following elements:
Data
Selected SAR data sets
tab
quantities related to seleted Grain.NO, such as recycling ratio, recuperation, FOM, RCS, etc
failFit.NO
Grain.NO failed in growth curve fitting
reject.NO
rejected Grain.NO

See Also

fitGrowth; lsNORM; pickSARED; select

Examples

Run this code
 # Do not run.
 # data(SARdata)
 # pickSARdata(SARdata, rcy.interval=c(0.9,1.1), fom.limit=10)

Run the code above in your browser using DataLab