This function helps to define the stratigraphic relation between samples, with questions.
The output of this function can be used in function AgeS_Computation
.
SCMatrix(Nb_sample, SampleNames)
interger: the sample number.
charcater vector: sample names.
A Matrix that summarise the ordered relation between samples.
This matrix can be intergrate in AgeS_Computation
function.
We refer to detail on AgeS_Computation
for more information concerning this matrix.
Ask if sample i
is younger than sample j
to construc the stratigraphic constrain matrix.
AgeS_Computation
Christophe, C., Philippe, A., 2023. SCMatrix(): Definition of the stratigraphic constraint matrix. In: Christophe, C., Philippe, A., Kreutzer, S., Guérin, G., Baumgarten, F.H., 2023. BayLum: Chronological Bayesian Models Integrating Optically Stimulated. R package version 0.3.1.9000-7. https://CRAN.r-project.org/package=BayLum
## Assume that "sample1" is younger than "sample2"
## That means the expected value is 1.
## It is an interactive function.
if (FALSE) {
SCMatrix(Nb_sample=2,SampleNames=c("sample1","sample2"))
## Enter the value 1
}