SuccessionPlot: Density Plots of two successive phases (for phases in...

Description Usage Arguments Details Value Author(s) Examples

View source: R/prog.R

Description

Plot of the densities of the minimum and the maximum of the dates included in each phase and adds several summary statistics (mean, CI, HPDR)

Usage

1
2
3
SuccessionPlot(Phase1Min_chain, Phase1Max_chain, Phase2Min_chain,
  Phase2Max_chain, level = 0.95,
  title = "Characterisation of several phases", GridLength = 1024)

Arguments

Phase1Min_chain

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

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

Phase2Max_chain

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

level

probability corresponding to the level of confidence

title

title of the graph

GridLength

length of the grid used to estimate the density

Details

Curves represent the density of the minimum (oldest dates) and the maximum (youngest dates) of the dates included in each phase. Curves of the same color refer to the same phase. Time range intervals are symbolised by segments above the curves drawn using the same color as the one of the curves of the associated phase. Transition and gap range intervals are represented by two-coloured segments using the colors of the both phases in succession. If the gap between the successive phases does not exist, a cross is drawn instead of a segment.

Value

Plot of the densities of the minimum and the maximum of the dates included in each phase

Author(s)

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

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

Examples

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

RChronoModel documentation built on May 1, 2019, 10:06 p.m.