tests-methods | R Documentation |
"tests"
for Class "ages"
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.
## S4 method for signature 'ages'
tests(object, nbmin = 1, nbmax = NULL, level = object@level, verbose = TRUE)
object |
an object of type |
nbmin |
a numeric. Minimum tested number of populations. |
nbmax |
a numeric. Maximum tested number of populations. |
level |
a numeric. Confidence interval level. Default is equal to |
verbose |
logical. Activates the verbose mode. |
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).
An object of class ageTests
or
oneAgeTest
depending on the value of nbmax
(see section "Details").
tests(object, nbmin=1, nbmax=NULL, level=object@level, verbose=TRUE)
signature(object = "ages")
: an object of type
ages
as produced by the function
calculateAges()
.
...: other arguments passed to the method's function (see section Usage)
Jean-Marc Montel, jean-marc.montel@ensg.inpl-nancy.fr
Nathalie Vialaneix, nathalie.vialaneix@inrae.fr
Montel J.M., Foret S., Veschambre M., Nicollet C., Provost A. (1996) Electron microprobe dating of monazite. Chemical Geology, 131, 37–53.
calculateAges()
, oneAgeTest
, ageTests
data(srilanka)
calculated.ages <- calculateAges(srilanka, nloops = 10)
tests(calculated.ages)
tests(calculated.ages, 1, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.