Calc_CommonDose(input.data,
sigmab = 0,
log = TRUE,
sample.id = "unknown sample")
log = TRUE
this function calculates the weighted mean of logarithmic De values. Each of the estimates is weighted by the inverse square of its relative standard error. The weighted mean is then transformed back to the dose scale (Galbraith & Roberts 2012, p. 14).
The log transformation is not applicable if the De estimates are close to zero or negative. In this case the un-logged model can be applied instead (log = FALSE
). The weighted mean is then calculated using the un-logged estimates of De and their absolute standard error (Galbraith & Roberts 2012, p. 14).## load example data
data(ExampleData.DeValues)
## apply the common dose model
Calc_CommonDose(ExampleData.DeValues)
Run the code above in your browser using DataLab