get_bp: get bp values (ages)

Description Usage Arguments Value See Also Examples

View source: R/getter_functions.R

Description

queries values from date objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_bp(x)

## Default S3 method:
get_bp(x)

## S3 method for class 'oxcAARCalibratedDate'
get_bp(x)

## S3 method for class 'oxcAARCalibratedDatesList'
get_bp(x)

Arguments

x

an object of class oxcAARCalibratedDate or oxcAARCalibratedDatesList

Value

an integer or a numeric vector

See Also

Other getter functions: get_cal_curve(), get_name(), get_posterior_probabilities(), get_posterior_sigma_ranges(), get_raw_probabilities(), get_sigma_ranges(), get_std()

Examples

1
2
3
4
5
6
7
## Not run: 
x <- oxcalCalibrate(c(5000, 4500, 3000), c(20, 50, 60))
get_bp(x)
y <- oxcalCalibrate(5000, 20)[[1]]
get_bp(y)

## End(Not run)

oxcAAR documentation built on July 6, 2021, 1:06 a.m.