Fits a York regression of D47 on temperature to bootstrap replicates of the calibration dataset, using IsoplotR::york(). The errors in both variables are used for each observation.
Value
A data.frame with one row per replicate and the columns alpha (intercept), beta (slope), and sigma (residual SD of D47 around the fitted line, including measurement error). Failed replicates are removed with a warning.
Examples
ds <- cal.dataset(error = "S1", nobs = 50, seed = 1)
yrk <- cal.york(ds, replicates = 100)
colMeans(yrk)
#> alpha beta sigma
#> 0.26844715 0.03673310 0.01194875
