tests-methods: Method '"tests"' for Class '"ages"'

Description Details Value Usage Methods Author(s) References See Also Examples

Description

Test if a set of ages belongs to a given number of populations or alternatively find out the most probable number of populations within a range.

Details

The function successively tests all values from nbmin to nbmax and keeps the smallest accepted one (returns an error if all supplied values are rejected). In this case, the output value is an object of class ageTests.

If nbmax is NULL, the results are kept even if the test is rejected. In this case, the output value is an object of class oneAgeTest.

The performed tests are those described in Montel et al. (1996).

Value

An object of class ageTests or oneAgeTest depending on the value of nbmax (see section "Details").

Usage

tests(object, nbmin=1, nbmax=NULL, [email protected], verbose=TRUE)

Methods

signature(object = "ages")

an object of type ages as produced by the function calculateAges.

nbmin

numeric. Minimum tested number of populations.

nbmax

numeric. Maximum tested number of populations.

level

numeric. Confidence interval level. Default is equal to [email protected], i.e., to the level of confidence used to calculate the ages.

verbose

logical. Activates the verbose mode.

Author(s)

Jean-Marc Montel [email protected]

Nathalie Villa-Vialaneix [email protected]

References

Montel J.M., Foret S., Veschambre M., Nicollet C., Provost A. (1996) Electron microprobe dating of monazite. Chemical Geology, 131, 37–53.

See Also

calculateAges, oneAgeTest, ageTests

Examples

1
2
3
4
data(srilanka)
calculated.ages <- calculateAges(srilanka, nloops=10)
tests(calculated.ages)
tests(calculated.ages,1,3)

NiLeDAM documentation built on May 31, 2017, 3:19 a.m.