Description Usage Arguments Details Value Author(s) Examples
This functions draws a plot of the densities of several successive phases and adds several statistics (mean, CI, HPDR)
1 2 | MultiSuccessionPlot(data, position_minimum, position_maximum = position_minimum+1,
level = 0.95, title = "Characterisation of a succession of phases")
|
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 |
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. When there is only one curve of one color, it means that there is only one event in the corresponding phase and then the minimum equals the maximum. 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 successive phases. If the gap between the successive phases does not exist, a cross is drawn instead of a segment.
Returns a plot of all densities and adds several summary statistics
Anne Philippe <Anne.Philippe@univ-nantes.fr> and
Marie-Anne Vibet <Marie-Anne.Vibet@univ-nantes.fr>
1 2 3 4 5 6 7 8 9 10 11 | # Data extracted from ChronoModel software
data(Phases)
# List of the name of the phases
names(Phases)
# Stipulating position_end
MultiSuccessionPlot(Phases, c(4,2), c(5,3), title = "Succession of phase 1 and phase 2")
# In this case, equivalent to
MultiSuccessionPlot(Phases, c(4,2), title = "Succession of phase 1 and phase 2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.