SCMatrix: Definition of the stratigraphic constraint matrix

View source: R/SCMatrix.R

SCMatrixR 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., 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. 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)


BayLum documentation built on April 14, 2023, 12:24 a.m.