Learn R Programming

oxcAAR (version 1.1.1)

get_bp: get bp values (ages)

Description

queries values from date objects

Usage

get_bp(x)

# S3 method for default get_bp(x)

# S3 method for oxcAARCalibratedDate get_bp(x)

# S3 method for 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

Run this code
# NOT RUN {
x <- oxcalCalibrate(c(5000, 4500, 3000), c(20, 50, 60))
get_bp(x)
y <- oxcalCalibrate(5000, 20)[[1]]
get_bp(y)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab