Predictive distribution of date
undated_sample(data1, data2, level = 0.95)
Numeric vector containing the output of the MCMC algorithm for the begining of interval
Numeric vector containing the output of the MCMC algorithm for the end of interval
Probability corresponding to the desired level of confidence. @return A list with the following components:
Simulate the sample from the predictive distribution of an undated sample in stratigraphic constraint between two dates. The input is an MCMC sample simulated from the joint posterior distribution of these dates.
# NOT RUN {
data(Phases);
attach(Phases)
sample = undated_sample(Phase.1.alpha,Phase.1.beta)
# credible interval for the new date.
sample$credible
#time range interval
sample$timerange
# graphics = densities / IC / time range ggplot
sample$gr
# }
Run the code above in your browser using DataLab