SCMatrix {BayLum}R Documentation

Definition of the stratigraphic constraint matrix

Description

This function helps to define the stratigraphic relation between samples, with questions. The output of this function can be used in function AgeS_Computation.

Usage

SCMatrix(Nb_sample, SampleNames)

Arguments

Nb_sample

interger: the sample number.

SampleNames

charcater vector: sample names.

Details

Ask if sample i is younger than sample j to construc the stratigraphic constrain matrix.

Value

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.

How to cite

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

Author(s)

Claire Christophe, Anne Philippe, Guillaume Guerin

See Also

AgeS_Computation

Examples

## 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)


[Package BayLum version 0.2.0 Index]