plot_age_models: Plot Age Models as Spaghetti Plot

View source: R/plot_stan_hamstr.R

plot_age_modelsR Documentation

Plot Age Models as Spaghetti Plot

Description

Plot Age Models as Spaghetti Plot

Usage

plot_age_models(hamstr_fit, n.iter = 1000)

Arguments

hamstr_fit

the object returned from stan_hamstr.

n.iter

the number of iterations of the model to plot, defaults to 1000.

Value

A ggplot2 object

Examples

## Not run: 
fit <- hamstr(
  depth = MSB2K$depth,
  obs_age = MSB2K$age,
  obs_err = MSB2K$error)

plot_age_models(fit)

## End(Not run)

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