predict.BchronologyRun: Predict ages of other positions for a BchronologyRun object

Description Usage Arguments Value See Also

View source: R/predict.BchronologyRun.R

Description

This function will predict the ages of new positions (usually depths) based on a previous run of the function Bchronology. It will also allow for thickness uncertainties to be included in the resulting ages, for example when the age of a particular event is desired

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'BchronologyRun'
predict(
  object,
  newPositions,
  newPositionThicknesses = NULL,
  maxExtrap = 500,
  ...
)

Arguments

object

Output from a run of Bchronology

newPositions

A vector of new positions at which to find ages

newPositionThicknesses

A vector of thicknesses for the above positions. Must be the same length as newPositions

maxExtrap

The maximum new of extrapolation attempts. It might be worth increasing this if you are extrapolating a long way from the other dated positions

...

Other arguments to predict (not currently supported)

Value

A matrix of dimension num_samples by num_positions so that each row represents a set of monotonic sample predicted ages

See Also

BchronCalibrate, Bchronology BchronRSL, BchronDensity, BchronDensityFast


Bchron documentation built on June 10, 2021, 9:10 a.m.