interpolate_age_models: Interpolate Posterior Age Model At New Depths

View source: R/posterior_methods.R

interpolate_age_modelsR Documentation

Interpolate Posterior Age Model At New Depths

Description

Interpolate Posterior Age Model At New Depths

Usage

interpolate_age_models(hamstr_fit, depth)

Arguments

hamstr_fit

the object returned from stan_hamstr.

depth

a vector of depths at which to interpolate the age models. If left NULL, the depths of the age control points are used.

Value

hamstr_interpolated_ages object

Examples

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

interpolate.age.models(fit, depth = seq(1000, 15000, by = 1000))

## End(Not run)


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