Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/calc_DePlateau.R
This function repeatedly fits a single saturating exponential to ESR data and calculates the De while removing the highest datapoint datapoint after each iteration. It then creates a DE-DEmax-Plot after Schellmann & Radtke (2001) where the DE is plotted against the number of datapoints used for fitting.
1 2 3 | calc_DePlateau(input.data, min.DosePoints = 5, fit.weights = "equal",
model = "EXP", mean.natural = FALSE, show.grid = TRUE,
output.console = TRUE, ...)
|
input.data |
|
min.DosePoints |
|
fit.weights |
|
model |
|
mean.natural |
|
show.grid |
|
output.console |
|
... |
further arguments passed to |
Fitting methods
For fitting of the dose response curve the
nls
function with the port
algorithm is used. A single
saturating exponential in the form of
y = a*(1-exp(-(x+c)/b))
is
fitted to the data. Parameters b and c are approximated by a linear fit
using lm
.
Fit weighting
If 'equal'
all
datapoints are weighted equally. For 'prop'
the datapoints are
weighted proportionally by their respective ESR intensity:
fit.weights = 1/intensity/(sum(1/intensity))
If individual errors on ESR intensity are
available, choosing 'error'
enables weighting in the form of:
fit.weights = 1/error/(sum(1/error))
Returns terminal output and a plot. In addition, a list is returned containing the following elements:
output |
data frame containing the De (datapoints n, De, De.Error, max.Dose). |
Fitting of the dose response curve using fit_DRC
is
largely derived from the plot_GrowthCurve
function of the
'Luminescence' package by Kreutzer et al. (2012).
Fitting
methods
Currently, only fitting of a single saturating exponential is
supported. Fitting of two exponentials or an exponential with a linear term
may be implemented in a future release.
Christoph Burow, University of Cologne (Germany) Who wrote it
Galbraith, R.F. & Roberts, R.G., 2012. Statistical aspects of
equivalent dose and error calculation and display in OSL dating: An overview
and some recommendations. Quaternary Geochronology, 11, pp. 1-27.
Kreutzer, S., Schmidt, C., Fuchs, M.C., Dietze, M., Fischer, M., Fuchs, M.,
2012. Introducing an R package for luminescence dating analysis. Ancient TL,
30 (1), pp 1-8.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
##load example data
data(ExampleData.De, envir = environment())
#calculate and plot De-Dmax Plateau
calc_DePlateau(input.data = ExampleData.De,
min.DosePoints = 5,
fit.weights = 'prop',
show.grid = TRUE,
output.console = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.