Description Usage Arguments Value Author(s) Examples

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

1 2 | ```
PhasesTransition(Phase1Max_chain, Phase2Min_chain, level = 0.95,
max_decimal = 0)
``` |

`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 |

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

Anne Philippe <[email protected]> and

Marie-Anne Vibet <[email protected]>

1 2 3 | ```
data(Phases); attach(Phases)
PhasesTransition(Phase.1.beta, Phase.2.alpha, 0.95)
PhasesTransition(Phase.1.beta, Phase.2.alpha, 0.50)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.