Description Usage Arguments Details Value Author(s) Examples
Computes the shortest interval that satisfies : P(PhaseMin < IntervalInf < IntervalSup < PhaseMax | M) = level
1 2 | MultiPhaseTimeRange(data, position_minimum, position_maximum = position_minimum+1,
level = 0.95, max_decimal = 0)
|
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 desired level of confidence |
max_decimal |
maximum number of decimal |
For each i, MultiPhaseTimeRange computes the time range 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.
Returns a matrix of values containing the level of confidence and the endpoints of the shortest time range associated with the desired level
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.