Calculate bootstrapped means with temperature and d18Osw
apply_calib_and_d18O_boot.RdFor age, d18O, d13C, and D47, from which we calculate temperature and d18Osw.
Usage
apply_calib_and_d18O_boot(
data,
calib,
group,
output = "summary",
equation = NULL,
Nsim = NULL
)Arguments
- data
A dataframe with columns
outlier,broadid- calib
A dataframe with draws from the bootstrapped (or Bayesian) temperature regression. Should have columns
slopeandintercept.- group
Column name of the groups.
- output
Character vector specifying whether to return a
"summary"or the"raw"bootstrapped samples.- equation
Character vector with the equation to use. Defaults to Kim & O'Neil, 1997.
- Nsim
The number of bootstraps you want to run. Defaults to the number of rows in
calib.