PhasesGap {ArchaeoPhases} | R Documentation |
This function finds, if it exists, a gap or hiatus between two successive phases.
This gap or hiatus is the longest interval that satisfies
P(Phase1Max_chain < IntervalInf < IntervalSup < Phase2Min_chain | M) = level
PhasesGap(Phase1Max_chain, Phase2Min_chain, level = 0.95)
Phase1Max_chain |
Numeric vector containing the output of the MCMC algorithm for the maximum of the events included in the oldest phase. |
Phase2Min_chain |
Numeric vector containing the output of the MCMC algorithm for the minimum of the events included in the following phase. |
level |
Probability corresponding to the level of confidence. |
Returns a vector of values containing the level of confidence and the endpoints of the gap between the successive phases. The result is given in calendar years (BC/AD).
Anne Philippe, Anne.Philippe@univ-nantes.fr and
Marie-Anne Vibet, Marie-Anne.Vibet@univ-nantes.fr
data(Phases); attach(Phases)
PhasesGap(Phase.1.beta, Phase.2.alpha, 0.95)
PhasesGap(Phase.1.beta, Phase.2.alpha, 0.50)