Given output from the Poisson process fitting function PPcalibrate, plot the
posterior density estimates for the heights (i.e., values) of the piecewise-constant rate
\(\lambda(t)\) used to model sample occurrence. These density estimates are calculated
conditional upon the number of internal changepoints within the period under study
(which is specified as an input to the function).
Having conditioned on the number of changes, n_change
, the code will extract all realisations
from the the posterior of the MCMC sampler which have that number of internal changepoints in the
estimate of \(\lambda(t)\). It will then provide density estimates for the heights (i.e., the value)
of the rate function between each of the determined (ordered) changepoints. These density estimates
are obtained using a Gaussian kernel.
Note: These graphs will become harder to interpret as the specified number of changepoints
increases
For more information read the vignette:
vignette("Poisson-process-modelling", package = "carbondate")