plot_acc_mean_prior_posterior: Plot Mean Accumulation Rate Prior and Posterior Distributions

View source: R/plot_stan_hamstr.R

plot_acc_mean_prior_posteriorR Documentation

Plot Mean Accumulation Rate Prior and Posterior Distributions

Description

Plot Mean Accumulation Rate Prior and Posterior Distributions

Usage

plot_acc_mean_prior_posterior(hamstr_fit)

Arguments

hamstr_fit

the object returned from stan_hamstr.

Value

a ggplot2 object

Examples

## Not run: 
fit <- hamstr(
  depth = MSB2K$depth,
  obs_age = MSB2K$age,
  obs_err = MSB2K$error,
  K = c(10, 10), nu = 6,
  acc_mean_prior = 20,
  mem_mean = 0.5, mem_strength = 10,
  inflate_errors = 0)

plot_acc_mean_prior_posterior(fit)

## End(Not run)

EarthSystemDiagnostics/baconr documentation built on Dec. 10, 2023, 4:35 a.m.