DatesHiatus {ArchaeoPhases} | R Documentation |
Finds if a gap exists between two dates and returns the longest interval that satisfies: P(a_chain < IntervalInf < IntervalSup < b_chain | M) = level
DatesHiatus(a_chain, b_chain, level = 0.95)
a_chain |
: Numeric vector containing the output of the MCMC algorithm for the first parameter. |
b_chain |
: Numeric vector containing the output of the MCMC algorithm for the second parameter. |
level |
Probability corresponding to the confidence level of the interval. |
A named vector with the level and the endpoints of the gap in calendar years (AD/BC)
Anne Philippe, Anne.Philippe@univ-nantes.fr and
Marie-Anne Vibet, Marie-Anne.Vibet@univ-nantes.fr
data(Events); attach(Events)
DatesHiatus(Event.1, Event.12)
DatesHiatus(Event.1, Event.12, level = 0.5)