R/predict.BchronologyRun.R
predict.BchronologyRun.Rd
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
# S3 method for BchronologyRun
predict(
object,
newPositions,
newPositionThicknesses = NULL,
maxExtrap = 500,
...
)
Output from a run of Bchronology
A vector of new positions at which to find ages
A vector of thicknesses for the above positions. Must be the same length as newPositions
. If NULL
then assumed zero
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)
A matrix of dimension num_samples by num_positions so that each row represents a set of monotonic sample predicted ages