Sample Calibrated Ages
c14_sample.Rd
Sample Calibrated Ages
Usage
c14_sample(object, ...)
# S4 method for class 'CalibratedAges'
c14_sample(object, n = 100, calendar = get_calendar())
Arguments
- object
A
CalibratedAges
object.- ...
Currently not used.
- n
An
integer
specifying the number of random samples.- calendar
An
aion::TimeScale
object specifying the target calendar (seeaion::calendar()
). Defaults toaion::CE()
. IfNULL
, rata die are returned.
See also
Other radiocarbon tools:
F14C
,
c14_calibrate()
,
c14_combine()
,
c14_curve()
,
c14_ensemble()
,
c14_plot
,
c14_spd()
,
c14_uncalibrate()
,
rec_plot
Examples
## Calibrate multiple dates
cal <- c14_calibrate(
values = c(5000, 4500),
errors = c(45, 35),
names = c("X", "Y")
)
## Sample
spl <- c14_sample(cal, n = 100)