mean | R Documentation |
Mean
## S4 method for signature 'CalibratedAges'
mean(x, na.rm = FALSE, ..., calendar = get_calendar())
## S4 method for signature 'ProxyRecord'
mean(x, na.rm = FALSE, ...)
x |
A |
na.rm |
A |
... |
Currently not used. |
calendar |
An |
A numeric
vector.
N. Frerebeau
Other statistics:
interval_credible()
,
interval_hdr()
,
median()
,
quantile()
## Calibrate multiple dates
cal <- c14_calibrate(
values = c(5000, 4500),
errors = c(45, 35),
names = c("X", "Y")
)
## Statistics
quantile(cal)
median(cal)
mean(cal)
## Plot
plot(cal, calendar = CE())
## Need to set 'calendar'
abline(v = median(cal, calendar = CE()), lty = 2, col = "blue")
abline(v = mean(cal, calendar = CE()), lty = 2, col = "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.