MultiPhasesTransition {ArchaeoPhases} | R Documentation |
Finds, if it exists, the shortest interval that satisfies
P(TransitionRangeInf < Phase1Max < Phase2Min < TransitionRangeSup | M) = level
MultiPhasesTransition(
data,
position_minimum,
position_maximum = position_minimum + 1,
level = 0.95
)
data |
Data frame containing the output of the MCMC algorithm. |
position_minimum |
Numeric vector containing the column number corresponding to the minimum of the events included in each group. |
position_maximum |
Numeric vector containing the column number corresponding to the end of the groups set in the same order as in codeposition_minimum. |
level |
Probability corresponding to the level of confidence. |
For each i
, MultiPhasesTransition()
computes the transition interval
for the phase defined by its minimum position_minimum[i]
and
its maximum position_maximum[i]
. The default value of
position_maximum
corresponds to CSV files exported from
ChronoModel software.
A matrix of values containing the level of confidence and the endpoints of the transition interval for each pair of successive groups. The result is given in calendar years (BC/AD).
Anne Philippe, Anne.Philippe@univ-nantes.fr and
Marie-Anne Vibet, Marie-Anne.Vibet@univ-nantes.fr
# Data extracted from ChronoModel software
data(Phases)
# List of the name of the groups
names(Phases)
# Stipulating position_maximum
MultiPhasesTransition(Phases, position_minimum = c(4, 2), position_maximum = c(5, 3))
# In this case, equivalent to
MultiPhasesTransition(Phases, position_minimum = c(4, 2))