Description Usage Arguments Value Author(s) Examples
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
1 | DatesHiatus(a_chain, b_chain, level=0.95)
|
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 |
Returns the endpoints of the longest hiatus between two parameters
Anne Philippe <Anne.Philippe@univ-nantes.fr> and
Marie-Anne Vibet <Marie-Anne.Vibet@univ-nantes.fr>
1 2 3 | data(Events); attach(Events)
DatesHiatus(Event.1, Event.12)
DatesHiatus(Event.1, Event.12, level = 0.5)
|
level HiatusIntervalInf HiatusIntervalSup
"0.95" "NA" "NA"
level HiatusIntervalInf HiatusIntervalSup
0.5 -1244.0 -1235.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.