View source: R/posterior_methods.R
get_posterior_acc_rates | R Documentation |
Get Posterior Accumulation Rates
get_posterior_acc_rates(hamstr_fit, tau = 0, kern = c("U", "G", "BH"))
hamstr_fit |
the object returned from |
tau |
scale of the smoothing kernel in depth units. If tau > 0, accumulation rates are smoothed (filtered) before summary statistics are calculated, so that the accumulation rate at a given depth corresponds to the average rate over the depth interval tau. Default to 0. |
kern |
choice of smoothin kernal. U for uniform (moving average), G for Gaussian, BH for Berger and Heath (exponential). Defaults to U |
a dataframe/tibble with posterior ages for all iterations after warmup
## Not run:
fit <- hamstr(
depth = MSB2K$depth,
obs_age = MSB2K$age,
obs_err = MSB2K$error)
get_posterior_acc_rates(fit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.