Learn R Programming

ArchaeoPhases (version 1.8)

PhasesTransition: Transition range between two successive phases (for phases in temporal order constraint)

Description

Finds, if it exists, the shortest interval that satisfies \(P(TransitionRangeInf < Phase1Max_chain < Phase2Min_chain < TransitionRangeSup | M) = level\)

Usage

PhasesTransition(Phase1Max_chain, Phase2Min_chain, level = 0.95)

Arguments

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.

Value

a vector of values containing the level of confidence and the endpoints of the transition interval between the successive phases. The result is given in calendar years (BC/AD).

Examples

Run this code
# NOT RUN {
  data(Phases); attach(Phases)
  PhasesTransition(Phase.1.beta, Phase.2.alpha, 0.95)
  PhasesTransition(Phase.1.beta, Phase.2.alpha, 0.50)

# }

Run the code above in your browser using DataLab