Learn R Programming

NiLeDAM (version 0.4)

ages-class: Class "ages"

Description

A class for the results of the calculateAges function. It contains the ages calculated for each analytic point from triplets (U,Th,Pb) and corresponding errors.

Arguments

Fields

data

Object of class "data.frame" that contains the original triplets (U,Th,Pb) and corresponding errors.

ages

Object of class "vector" that contains the ages calculated for each analytic point.

ci

Object of class "matrix", which is a two-column matrix that contains the bounds of the confidence intervals for each age of the slot ages. These are estimated from a MC simulation method as described in calculateAges().

sd

Object of class "vector" that contains the standard deviations for each age of the slot ages. These are estimated from a MC simulation method as described in calculateAges().

nloops

Object of class "numeric" that stores the number of MC simulations used to estimate the confidence intervals and the standard deviations.

level

Object of class "numeric" that stores the level of the confidence intervals.

Objects from the Class

Objects can be created by calls of the function calculateAges().

Methods

  • print(signature(x = "ages")): display a summary of the results of the ages calculation.

  • show(signature(object = "ages")): display a summary of the results of the ages calculation (same as print.ages).

  • summary(signature(object = "ages")): display a summary of the results of the ages calculation (same as print.ages).

Author

Nathalie Vialaneix, nathalie.vialaneix@inrae.fr

See Also

calculateAges(), tests()

Examples

Run this code
showClass("ages")

## Example on the srilanka dataset

data(srilanka)
calculated.ages <- calculateAges(srilanka, nloops = 10)
calculated.ages

Run the code above in your browser using DataLab