oneAgeTest-class {NiLeDAM} | R Documentation |
Class "oneAgeTest"
Description
Results of a \chi^2
-test testing if the ages calculated by the
function calculateAges()
come from a given number of populations.
The test is the one described in the article Montel et al. (1996).
Fields
data
Object of class
"ages"
as created by the functioncalculateAges()
. This is the object passed as an argument to the functiontests()
.ages
Object of class
"vector"
that contains the estimated common age(s) of the population(s). Its size is equal to the argument nbmin passed to the functiontests()
.sd
Object of class
"vector"
that contains the estimated standard deviations of the common age(s) of the population(s). Its size is equal to the argument nbmin passed to the functiontests()
.ic
Object of class
"matrix"
having nbmin rows and two columns corresponding to the confidence intervals at level level as passed as an argument to the functiontests()
.S
Object of class
"numeric"
\chi^2
test statistic of the test.thres
Object of class
"numeric"
probability threshold of the test.df
Object of class
"numeric"
degree of freedom of the test.level
Object of class
"numeric"
confidence level of the test. Passed as an argument to the functiontests()
.h0
Object of class
"logical"
result of the test: ifh0
isTRUE
, the test is accepted at level level and ifh0
isFALSE
, the test is rejected at level level.which.pop
Object of class
"vector"
that contains the population number for each analytic point.1
corresponds to the population with the first age inages
,2
to the population with the second age inages
...
Objects from the Class
Objects from this class are created by the function tests()
applied
to an object of class ages
when the option nbmax is set
to NULL
.
Methods
print(
signature(x = "oneAgeTest")
): displays a summary of the test's result.show(
signature(object = "oneAgeTest")
): displays a summary of the test's result.summary(
signature(object = "oneAgeTest")
): displays a summary of the test' results.
Author(s)
Nathalie Vialaneix, nathalie.vialaneix@inrae.fr
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
ages
, tests()
, plot.oneAgeTest
Examples
showClass("oneAgeTest")
## Example
data(srilanka)
calculated.ages <- calculateAges(srilanka, nloops=10)
tests(calculated.ages)