as_cal_dist() converts objects from other packages that represent calibrated
radiocarbon distributions to the c14 cal_dist class.
Methods are currently implemented for:
CalDates: fromrcarbon::calibrate()oxcAARCalibratedDateandoxcAARCalibratedDatesList: fromoxcAAR::oxcalCalibrate()BchronCalibratedDates: fromBchron::BchronCalibrate()
These functions are intended for complex S3 objects from other packages.
The generic constructor cal_dist() can be used for data frames and other base
structures.
Usage
as_cal_dist(x, ...)
# S3 method for class 'data.frame'
as_cal_dist(x, ...)
# S3 method for class 'matrix'
as_cal_dist(x, ...)
# S3 method for class 'CalDates'
as_cal_dist(x, ...)
# S3 method for class 'oxcAARCalibratedDatesList'
as_cal_dist(x, ...)
# S3 method for class 'oxcAARCalibratedDate'
as_cal_dist(x, ..., which = c("prior", "posterior"))
# S3 method for class 'BchronCalibratedDates'
as_cal_dist(x, ...)Value
Vector of class c14_cal_dist (cal_dist).
See also
Other cal class methods:
cal_dist()