Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict.BchronologyRun

Predict ages of other positions for a BchronologyRun object


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

## 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


Bchron

Radiocarbon Dating, Age-Depth Modelling, Relative Sea Level Rate Estimation, and Non-Parametric Phase Modelling

v4.7.4
GPL (>= 2)
Authors
Andrew Parnell
Initial release
2021-01-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.