Calculate bootstrapped means for each group in a dataframe
bootstrap_means.RdCalculate bootstrapped means for each group in a dataframe
Arguments
- data
A dataframe or tibble that should have columns
outlier,broadid("other" for samples),D47_final,d18O_PDB_vit,d13C_PDB_vit, and the grouping column.- group
The column name in
datawith a character or factor column that contains the binning information that you want to calculate bootstrapped averages for.- age
The column name in
datawith the sample ages.- d13C
The column name in
datawith the carbon isotope values.- d18O
The column name in
datawith the oxygen isotope values.- D47
The column name in
datawith the clumped isotope values.- Nsim
The number of bootstraps you want to run. Defaults to the number of rows in
calib.