SCMatrix {BayLum} | R Documentation |
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)
Nb_sample |
interger: the sample number. |
SampleNames |
charcater vector: sample names. |
Ask if sample i
is younger than sample j
to construc the stratigraphic constrain matrix.
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.
Christophe, C., Philippe, A., Guerin, G., 2020. SCMatrix(): Definition of the stratigraphic constraint matrix. In: Christophe, C., Philippe, A., Kreutzer, S., Guerin, G., 2020. BayLum: Chronological Bayesian Models Integrating Optically Stimulated. R package version 0.2.0. https://CRAN.r-project.org/package=BayLum
Claire Christophe, Anne Philippe, Guillaume Guerin
AgeS_Computation
## Assume that "sample1" is younger than "sample2" ## That means the expected value is 1. ## It is an interactive function. ## Not run: SCMatrix(Nb_sample=2,SampleNames=c("sample1","sample2")) ## Enter the value 1 ## End(Not run)