PhasesGap {RChronoModel}R Documentation

Gap or Hiatus between two successive phases (for phases in temporal order constraint)

Description

This function finds, if it exists, the gap between two successive phases. This gap or hiatus is the longest interval [IntervalInf ; IntervalSup] that satisfies : P(Phase1Max_chain < IntervalInf < IntervalSup < Phase2Min_chain | M) = level.

Usage

PhasesGap(Phase1Max_chain, Phase2Min_chain, level = 0.95,
  max_decimal = 0)

Arguments

Phase1Max_chain

numeric vector containing the output of the MCMC algorithm for the maximum of the dates included in the oldest phase

Phase2Min_chain

numeric vector containing the output of the MCMC algorithm for the minimum of the dates included in the youngest phase

level

probability corresponding to the level of confidence

max_decimal

maximum number of decimal

Value

Returns a vector of values containing the level of confidence and the endpoints of the gap between the successive phases

Author(s)

Anne Philippe <Anne.Philippe@univ-nantes.fr> and

Marie-Anne Vibet <Marie-Anne.Vibet@univ-nantes.fr>

Examples

  data(Phases); attach(Phases)
  PhasesGap(Phase.1.beta, Phase.2.alpha, 0.95)
  PhasesGap(Phase.1.beta, Phase.2.alpha, 0.50)

[Package RChronoModel version 0.4 Index]