DatesHiatus {RChronoModel} | R Documentation |
Test for the existence of a hiatus between two parameters
Description
Finds if it exists a gap between two dates that is the longest interval that satisfies : P(a_chain < IntervalInf < IntervalSup < b_chain | M) = level
Usage
DatesHiatus(a_chain, b_chain, level=0.95)
Arguments
a_chain |
numeric vector containing the output of the MCMC algorithm for the first one-parameter (date) a |
b_chain |
numeric vector containing the output of the same MCMC algorithm for the second one-parameter (date) b |
level |
probability corresponding to the level of confidence used for the credible interval and the highest density region |
Value
Returns the endpoints of the longest hiatus between two parameters
Author(s)
Anne Philippe <Anne.Philippe@univ-nantes.fr> and
Marie-Anne Vibet <Marie-Anne.Vibet@univ-nantes.fr>
Examples
data(Events); attach(Events)
DatesHiatus(Event.1, Event.12)
DatesHiatus(Event.1, Event.12, level = 0.5)
[Package RChronoModel version 0.4 Index]