weighted_means {rice} | R Documentation |
Calculate the weighted mean of C14 ages
Description
Calculating the weighted mean of multiple C14 ages, using their means and lab errors.
Usage
weighted_means(y, er, round = 1, talk = TRUE)
Arguments
y |
The C14 ages. |
er |
The lab errors of the C14 ages. |
round |
Rounding to be applied (defaults to 1 decimal). |
talk |
Report details of the found values. |
Value
The weighted mean and error (the latter is the maximum of the weighted error and the square root of the variance).
Examples
N_UK <- map.shells(53, -11, 60, 2, mapsize="medium")
weighted_means(N_UK$dR, N_UK$dSTD)
[Package rice version 1.0.0 Index]