MultiPhasePlot {RChronoModel}R Documentation

Plot of the marginal posterior densities of several phases

Description

Draws a plot with the marginal posterior densities of the minimum and the maximum of the dates included in each phase. No temporal order between phases is required.

Usage

MultiPhasePlot(data, position_minimum, position_maximum = position_minimum+1,
level = 0.95,  title = "Phases marginal posterior densities")

Arguments

data

dataframe containing the output of the MCMC algorithm

position_minimum

numeric vector containing the column number corresponding to the minimum of the dates included in each phase

position_maximum

numeric vector containing the column number corresponding to the maximum of the dates included in each phase. By default, position_maximum = position_minimum + 1.

level

probability corresponding to the level of confidence

title

title of the graph

Value

Draws a plot with the marginal posterior densities of the minimum and the maximum of the dates included in each phase and adds the time range of each phase.

Author(s)

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

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

Examples

  # Data extracted from ChronoModel software
  data(Phases)
  
  # List of the name of the phases 
  names(Phases)
  
  # Stipulating position_maximum
  MultiPhasePlot(Phases, c(4,2), c(5,3), title = "Succession of phase 1 and phase 2")
  
  # In this case, equivalent to 
  MultiPhasePlot(Phases, c(4,2), title = "Succession of phase 1 and phase 2")


[Package RChronoModel version 0.4 Index]