PhaseTimeRange {ArchaeoPhases} | R Documentation |
Computes the shortest interval that satisfies
P(PhaseMin_chain =< IntervalInf < IntervalSup =< PhaseMax_chain | M) = level
PhaseTimeRange(PhaseMin_chain, PhaseMax_chain, level = 0.95)
PhaseMin_chain |
: Numeric vector containing the output of the MCMC algorithm for the minimum of the events included in the phase. |
PhaseMax_chain |
: Numeric vector containing the output of the MCMC algorithm for the maximum of the events included in the phase. |
level |
Probability corresponding to the desired level of confidence. |
A vector of values containing the desired level of confidence and the endpoints of the shortest time range associated with this desired level. 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)
PhaseTimeRange(Phase.1.alpha, Phase.1.beta, 0.95)
PhaseTimeRange(Phase.2.alpha, Phase.2.beta, 0.90)