| predict.agelme | R Documentation |
This function uses the output from 'agelme' to predict the Calibrated ages for specified depths.
## S3 method for class 'agelme'
predict(object, v = 1, depth, ...)
object |
An |
v |
Using constant (1) or mu (2) variance |
depth |
A vector of the depths to be predicted |
... |
Other arguments, currently unused. |
A list with three items
Whether constant variance or mu variance used.
A data.frame with the model predictions, containing columns:
The depths for the predicted ages
Predicted age
Lower 95 % confidence interval
Upper 95 % confidence interval
Total standard deviation
data |
A data.frame containing the age and depth information of the radiocarbon dates. |
Einar Heegaard
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 \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1191/0959683605hl836rr")}
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.