Learn R Programming

rice (version 1.6.2)

age.range: Calculate age ranges

Description

Calculate the quantile age ranges of a calibrated distribution

Usage

age.range(calib, prob = 0.95, roundby = 0, BCAD = FALSE)

Value

The highest posterior density ranges, as three columns: from age, to age, and the corresponding percentage(s) of the range(s)

Arguments

calib

The calibrated distribution, as returned from caldist()

prob

Probability range which should be calculated. Default prob=0.95.

roundby

Rounding. Defaults to 0 decimals.

BCAD

Which calendar scale to use. Defaults to cal BP, BCAD=FALSE.

Examples

Run this code
age.range(caldist(130,20, bombalert=FALSE))

Run the code above in your browser using DataLab