predict.agelme: Predicts the Calibrated age

Description Usage Arguments Value Author(s) References Examples

Description

This function uses the output from 'agelme' to predict the Calibrated ages for specified depths.

Usage

1
2
## S3 method for class 'agelme'
predict(object, v = 1, depth,...)

Arguments

object

An 'agelme' model

v

Using constant (1) or mu (2) variance

depth

A vector of the depths to be predicted

...

Other arguments, currently unused.

Value

A list with three items

Author(s)

Einar Heegaard <[email protected]

References

Heegaard, E., Birks, HJB. & Telford, RJ. 2005. Relationships between calibrated ages and depth in stratigraphical sequences: an estimation procedure by mixed-effect regression. The Holocene 15: 612-618

Examples

1
2
3
4
5
6
7
8
data(STOR)

fit.mod <- with(STOR,agelme(depthup,depthdo,cageup,cagedo))

#Predicting using the constant variance model,
#for each cm between 70 and 400 cm.
fit.pre <- predict(fit.mod,1,70:400)
plot(fit.pre)

palaeoSig documentation built on May 29, 2017, 9:11 a.m.